CVE-2011-0495
What it is
Stack-based buffer overflow in the ast_uri_encode function in main/utils.c in Asterisk Open Source before 1.4.38.1, 1.4.39.1, 1.6.1.21, 1.6.2.15.1, 1.6.2.16.1, 1.8.1.2, 1.8.2.; and Business Edition before C.3.6.2; when running in pedantic mode allows remote authenticated users to execute arbitrary code via crafted caller ID data in vectors involving the (1) SIP channel driver, (2) URIENCODE dialplan function, or (3) AGI dialplan function.
At a glance
- Exploitability
- Can be exploited over the network with a login. Limited direct impact.
- Exploit odds
- 4.2% chance of exploitation in the next 30 days (EPSS).
- 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: 4.2% in the next 30 days (EPSS).
- Severity: 6.0 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 4.2% · EPSS, next 30 days
- Weakness
- CWE-787 · Out-of-bounds write
- Record status
- Modified
Affected
- Digium Asterisk < c.3.6.2
- Digium Asterisk ≤ 1.2.40
- Digium Asterisk < 1.4.38.1
- Digium Asterisk < 1.4.39.1
- Digium Asterisk < 1.6.1.21
- Digium Asterisk < 1.6.2.15.1
- Digium Asterisk < 1.6.2.16.1
- Digium Asterisk < 1.8.1.2
Attack profile CVSS 2.0 · 6.0
- Attack vector
- Network
- Complexity
- Medium
- Authentication
- Single
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:N/AC:M/Au:S/C:P/I:P/A:P
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-2011-0495.md and follow it. Check whether this project is affected by CVE-2011-0495. 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-2011-001-1.6.2.diff
- http://downloads.asterisk.org/pub/security/AST-2011-001.html
- http://downloads.asterisk.org/pub/security/AST-2011-001-1.6.2.diff
- http://downloads.asterisk.org/pub/security/AST-2011-001.html
References
- http://downloads.asterisk.org/pub/security/AST-2011-001-1.6.2.diff
- http://downloads.asterisk.org/pub/security/AST-2011-001.html
- http://lists.fedoraproject.org/pipermail/package-announce/2011-February/053689.html
- http://lists.fedoraproject.org/pipermail/package-announce/2011-February/053713.html
- http://osvdb.org/70518
- http://secunia.com/advisories/42935
- http://secunia.com/advisories/43119
- http://secunia.com/advisories/43373
- http://www.debian.org/security/2011/dsa-2171
- http://www.securityfocus.com/archive/1/515781/100/0/threaded
- http://www.securityfocus.com/bid/45839
- http://www.vupen.com/english/advisories/2011/0159
- http://www.vupen.com/english/advisories/2011/0281
- http://www.vupen.com/english/advisories/2011/0449
- https://exchange.xforce.ibmcloud.com/vulnerabilities/64831
- http://downloads.asterisk.org/pub/security/AST-2011-001-1.6.2.diff
- http://downloads.asterisk.org/pub/security/AST-2011-001.html
- http://lists.fedoraproject.org/pipermail/package-announce/2011-February/053689.html
- http://lists.fedoraproject.org/pipermail/package-announce/2011-February/053713.html
- http://osvdb.org/70518
- http://secunia.com/advisories/42935
- http://secunia.com/advisories/43119
- http://secunia.com/advisories/43373
- http://www.debian.org/security/2011/dsa-2171
- http://www.securityfocus.com/archive/1/515781/100/0/threaded