---
title: "CVE-2011-0495\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2011-0495?format=md
keywords: index, follow
---

# CVE-2011-0495

Publication date 20 January 2011

Last updated 24 July 2024

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

Toggle side navigation

## Description

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.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| asterisk | 11.04 natty | Fixed 1:1.6.2.9-2ubuntu2 |
| 10.10 maverick | Fixed 1:1.6.2.7-1ubuntu1.1 |
| 10.04 LTS lucid | Fixed 1:1.6.2.5-0ubuntu1.3 |
| 9.10 karmic | Ignored end of life |
| 8.04 LTS hardy | Ignored end of life |
| 6.06 LTS dapper | Ignored end of life |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2011-0495?format=md#patch-details)

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| asterisk | * Other:   <http://downloads.asterisk.org/pub/security/AST-2011-001-1.4.diff> * Other:   <http://downloads.asterisk.org/pub/security/AST-2011-001-1.6.2.diff> * Debdiff:   <https://bugs.launchpad.net/ubuntu/+source/asterisk/+bug/705014> |

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-0495)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2011-0495)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2011-0495)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2011-0495)

### Other references

* <http://downloads.asterisk.org/pub/security/AST-2011-001.html>
* <https://www.cve.org/CVERecord?id=CVE-2011-0495>
