CVE-2018-7284
What it is
A Buffer Overflow issue was discovered in Asterisk through 13.19.1, 14.x through 14.7.5, and 15.x through 15.2.1, and Certified Asterisk through 13.18-cert2. When processing a SUBSCRIBE request, the res_pjsip_pubsub module stores the accepted formats present in the Accept headers of the request. This code did not limit the number of headers it processed, despite having a fixed limit of 32. If more than 32 Accept headers were present, the code would write outside of its memory and cause a crash.
At a glance
- Exploitability
- Can be exploited over the network without logging in. High risk of service disruption.
- Exploit odds
- 66.2% chance of exploitation in the next 30 days (EPSS). Higher than most.
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 66.2% in the next 30 days (EPSS).
- Severity: 7.5 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 66.2% · EPSS, next 30 days
- Weakness
- CWE-119 · Buffer errors
- Record status
- Modified
Affected
- Digium Asterisk ≤ 13.19.1
- Digium Asterisk ≤ 14.7.5
- Digium Asterisk ≤ 15.2.1
- Digium Certified Asterisk 13.18
- Digium Certified Asterisk ≤ 13.18
- Debian Linux 9.0
Attack profile CVSS 3.0 · 7.5
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Raw vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2018-7284.md and follow it. Check whether this project is affected by CVE-2018-7284. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://downloads.asterisk.org/pub/security/AST-2018-004.html
- http://downloads.asterisk.org/pub/security/AST-2018-004.html
References
- http://downloads.asterisk.org/pub/security/AST-2018-004.html
- http://www.securityfocus.com/bid/103151
- http://www.securitytracker.com/id/1040416
- https://www.debian.org/security/2018/dsa-4320
- https://www.exploit-db.com/exploits/44184/
- http://downloads.asterisk.org/pub/security/AST-2018-004.html
- http://www.securityfocus.com/bid/103151
- http://www.securitytracker.com/id/1040416
- https://www.debian.org/security/2018/dsa-4320
- https://www.exploit-db.com/exploits/44184/