# CVE-2012-2089: Memory corruption in n/a

> Remote attackers can cause denial of service or execute arbitrary code via crafted MP4 files in nginx when the mp4 directive is enabled.

- **Severity:** Medium 6.8 (`AV:N/AC:M/Au:N/C:P/I:P/A:P`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 17 Apr 2012
- **Updated:** 6 Aug 2024
- **Also known as:** DEBIAN-CVE-2012-2089, GHSA-9pvj-32x2-9jrc

## What is CVE-2012-2089?

CVE-2012-2089 is a medium-severity memory corruption vulnerability in Fedoraproject Fedora, published on 17 Apr 2012. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

Buffer overflow in ngx_http_mp4_module.c in the ngx_http_mp4_module module in nginx 1.0.7 through 1.0.14 and 1.1.3 through 1.1.18, when the mp4 directive is used, allows remote attackers to cause a denial of service (memory overwrite) or possibly execute arbitrary code via a crafted MP4 file.

Weakness: CWE-120 (Buffer Copy without Checking Size of Input)

## Which versions are affected by CVE-2012-2089?

It affects 2 products.


Products: F5 Nginx, Fedoraproject Fedora.

## How do I fix CVE-2012-2089?

Upgrade to a fixed version.

## Is CVE-2012-2089 being exploited?

There is no known exploitation of CVE-2012-2089 in the wild and no public exploit code.

## Other vulnerabilities in Fedoraproject Fedora

- [CVE-2016-1247](https://insights.sbomify.com/CVE-2016-1247/): Path traversal in n/a (high 7.8)
- [CVE-2021-23017](https://insights.sbomify.com/CVE-2021-23017/): Memory corruption in Nginx Web Server, Nginx Plus (high 7.7)
- [CVE-2014-0088](https://insights.sbomify.com/CVE-2014-0088/): Memory corruption in n/a (high 7.5)
- [CVE-2014-0133](https://insights.sbomify.com/CVE-2014-0133/): Memory corruption in n/a (high 7.5)
- [CVE-2013-4547](https://insights.sbomify.com/CVE-2013-4547/): Security feature bypass in n/a (high 7.5)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2012-2089 and fix it if it is affected.

What it is: CVE-2012-2089 is a medium-severity memory corruption vulnerability in Fedoraproject Fedora, published on 17 Apr 2012. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2012-2089 in the wild and no public exploit code.

Affected product: Fedoraproject Fedora. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2012-2089/ (Markdown: https://insights.sbomify.com/CVE-2012-2089/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2012-2089
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2012-2089
- OSV: https://osv.dev/vulnerability/CVE-2012-2089

---
From sbomify Insights: https://insights.sbomify.com/CVE-2012-2089/
Summaries are generated and may contain mistakes; the official description above is the record.
