What is CVE-2024-42365?A high-severity flaw in Asterisk, explained.
CVE-2024-42365 is a high-severity flaw (CVSS 8.8) in Asterisk, published on 8 August 2024. It is not on the list of flaws known to be exploited today. The latest forecast puts its chance of use in the next 30 days at 4.7%. If you run an affected version, plan in the vendor’s fix.
Published 8 August 2024. Record last updated 17 June 2026. We keep this page's data up to date.
What is CVE-2024-42365? In plain terms.
It can be attacked from anywhere on the internet with an ordinary user account, and nobody has to click anything. If it works, the attacker can read data, change data and take it offline.
Asterisk is an open source private branch exchange (PBX) and telephony toolkit. Prior to asterisk versions 18.24.2, 20.9.2, and 21.4.2 and certified-asterisk versions 18.9-cert11 and 20.7-cert2, an AMI user with `write=originate` may change all configuration files in the `/etc/asterisk/` directory. This occurs because they are able to curl remote files and write them to disk, but are also able to append to existing files using the `FILE` function inside the `SET` application. This issue may result in privilege escalation, remote code execution and/or blind server-side request forgery with arbitrary protocol. Asterisk versions 18.24.2, 20.9.2, and 21.4.2 and certified-asterisk versions 18.9-cert11 and 20.7-cert2 contain a fix for this issue.
What kind of flaw is it?
- CWE-1220Insufficient Granularity of Access Control
- CWE-267Privilege Defined With Unsafe Actions
How an attack on it works
Read straight from its severity rating, translated out of the shorthand.
- Where an attacker can beAnywhere on the internet
- How hard it is to pull offEasy: no special conditions
- Login needed firstAn ordinary user account
- Does someone have to clickNo, nobody has to do anything
- What an attacker getsCan read data, change data and take it offline
Severity vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Is CVE-2024-42365 being exploited? Not that we know of.
It is not on the list of flaws known to be exploited today. The latest forecast puts the chance of it being used in the next 30 days at 4.7%. That can change at any time, which is why we keep watching.
Timeline
- Published
- Exploit likelihood fell
- Exploit likelihood jumped
- Record last updated
CVE-2024-42365 scores 57. Action: Plan remediation.
We keep the score of every published flaw up to date as the evidence changes. Four things go into the score, and evidence that criminals are actually using it counts most. In order:
- Evidence it is being exploitedBiggest factor
- How severe it isStrong factor
- How widely exposed it isKey context
- Real threat activity around itKey context
85 and above is Critical. Anything confirmed as exploited is always marked for an emergency patch, whatever its score.
When CVE-2024-42365 matches software you track, it lands in your list with its score and the reasons behind it.
See your own ranked list →Who is affected by CVE-2024-42365? 2 products.
The published record lists 2 products from 1 vendor. Versions are shown as published: "before 18.24.2" means every version up to, but not including, 18.24.2. If you run one of these, check your version, then go to the fix below.
- Application
Asterisk
by Asterisk
Affected versionsbefore 18.24.219.0.0 to before 20.9.121.4.0 - Application
Certified Asterisk
by Asterisk
Affected versions13.13.013.13.0-cert1-rc113.13.0-cert1-rc213.13.0-cert1-rc313.13.0-cert1-rc413.13.0-cert113.13.0-cert213.13.0-cert313.13.0-rc113.13.0-rc216.8-cert1-rc116.8-cert1-rc216.8-cert1-rc316.8-cert1-rc416.8-cert1-rc516.8-cert4-rc116.8-cert4-rc216.8-cert4-rc316.8-cert4-rc416.8-cert1016.8-cert1116.8-cert1216.8-cert1316.8-cert1416.8.016.8.0-cert116.8.0-cert216.8.0-cert316.8.0-cert416.8.0-cert516.8.0-cert616.8.0-cert716.8.0-cert816.8.0-cert916.8.0-cert1016.8.0-cert1116.8.0-cert1218.9-cert1-rc118.9-cert118.9-cert2
How do I fix CVE-2024-42365? Four steps.
- Check whether you run itCompare your versions with the affected products above. Not sure what you run? Precursor Intelligence can work it out from your public website, or you can pick it from a list.
- Apply the vendor’s fixInstall the update named in the vendor’s advisory. We’ve put the advisories and patch notes first in the list.
- If you can’t patch todayFollow any mitigation the vendor publishes, and limit who can reach the affected system from the internet until the update is in.
- Keep an eye on itTrack the product and we tell you as soon as we spot this flaw on the list of exploited flaws, or a jump in its exploit likelihood.
References
9 links- asterisk/asterisk commit (opens in a new tab)github.com
- asterisk/asterisk commit (opens in a new tab)github.com
- asterisk/asterisk commit (opens in a new tab)github.com
- asterisk/asterisk commit (opens in a new tab)github.com
- asterisk/asterisk commit (opens in a new tab)github.com
- asterisk/asterisk security advisory (opens in a new tab)github.com
Does CVE-2024-42365 affect you? We'll keep checking.
Looking flaws up one at a time doesn't scale. Tell us what you run once, and we tell you which flaws matter to you, in what order, and keep watching for new ones.
- Tell us what you runPick your software from a list, or let us work it out from your website.
- We match it to every flawOver 400,000 published flaws, checked against your list.
- Ranked by real-world riskA 0 to 100 score, led by evidence criminals are using it.
- Told as soon as we knowAn alert by email, in the app or by webhook to your own tools.
Free plan, no card needed. Nothing to install.
1 new flaw affects software Acme tracks
Asterisk is an open source private branch exchange (PBX) and telephony toolkit. Prior to asterisk versions 18.24.2, 20.9.2, and 21.4.2 and certified-asterisk...
- Matched to
- Asterisk on Acme's software list
- What to do
- Plan in the vendor’s update
Sent to the alert recipients Acme chose. Also in the app and to Acme's webhook.
CVE-2024-42365 is a high-severity flaw in Asterisk, published on 8 August 2024. It can be attacked from anywhere on the internet with an ordinary user account, and nobody has to click anything. If it works, the attacker can read data, change data and take it offline.
It scores 8.8 out of 10 on the CVSS severity scale, which is high. Our risk score for CVE-2024-42365 is 57 out of 100, which is Medium. Its action is "Plan remediation". No sign of exploitation and a low forecast. Patch it in your normal update cycle.
It is not on the list of flaws known to be exploited today. The latest forecast puts the chance of it being used in the next 30 days at 4.7%. That can change at any time, which is why we keep watching.
For Asterisk: before 18.24.2, 19.0.0 to before 20.9.1, 21.4.0. The record lists 2 products in all, each with its versions, under "Who is affected" on this page.
Install the update the vendor names in its advisory, linked first under "How do I fix" on this page. If you can't patch today, follow the vendor's mitigation and limit who can reach the affected system from the internet.