CVE-2024-57520: Insecure Permissions vulnerability in asterisk v22 allows a remote attacker to execute arbitrary code via the
CVE-2024-57520 is a critical-severity flaw (CVSS 9.8) affecting asterisk. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Insecure Permissions vulnerability in asterisk v22 allows a remote attacker to execute arbitrary code via the action_createconfig function. NOTE: this is disputed by the Supplier because the impact is limited to creating empty files outside of the Asterisk product directory (aka directory traversal) and the attack can only be performed by a privileged user who has the ability to manage the configuration.
Why this priority
- Critical severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 1.0% (top 36%) |
| CISA exploited list | No |
| Weakness | CWE-732 |
| Published | 2025-02-05 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-57520?
asterisk: upgrade to newer than 22.5.1. Exact commands for each OS are on this page.
Is CVE-2024-57520 being exploited?
CVE-2024-57520 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-57520 affect?
CVE-2024-57520 affects asterisk. Severity is critical (CVSS 9.8). Insecure Permissions vulnerability in asterisk v22 allows a remote attacker to execute arbitrary code via the action_createconfig function. NOTE: this is disputed by the Supplier because the impact is limited to creating empty files outside
How urgent is CVE-2024-57520?
Priority 55/100. Critical severity; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2025-1131 HIGH 7.8 UPGRADE DOWNGRADE A local privilege escalation vulnerability exists in the safe_asterisk script included with the Asterisk toolk
- CVE-2026-23741 NONE 0.0 UPGRADE UPGRADE Asterisk is an open source private branch exchange and telephony toolkit
- CVE-2026-23740 NONE 0.0 DOWNGRADE UPGRADE Asterisk is an open source private branch exchange and telephony toolkit
- CVE-2026-23739 LOW 2.0 UPGRADE UPGRADE Asterisk is an open source private branch exchange and telephony toolkit
- CVE-2026-23738 LOW 3.5 UPGRADE UPGRADE Asterisk is an open source private branch exchange and telephony toolkit