Data injection via ignored Kerberos verification failure
Published Jul 7, 2022 · Updated May 5, 2025
Improper message verification in curl 7.16.4 through 7.83.1 allows man-in-the-middle attackers to inject data into FTP clients. In lib/krb5.c, krb5_decode returns an error after gss_unwrap rejects a protected message, but read_data treated that signed result as a data size and continued instead of failing the transfer. The attack requires FTP secured by Kerberos and an on-path attacker; affected clients accept attacker-controlled bytes prefixed by a five-byte error marker.
Summary
What happened
Improper message verification in curl 7.16.4 through 7.83.1 allows man-in-the-middle attackers to inject data into FTP clients. In lib/krb5.c, krb5_decode returns an error after gss_unwrap rejects a protected message, but read_data treated that signed result as a data size and continued instead of failing the transfer. The attack requires FTP secured by Kerberos and an on-path attacker; affected clients accept attacker-controlled bytes prefixed by a five-byte error marker.
The record
- CVE
- CVE-2022-32208
- Published
- Jul 7, 2022
- Updated
- May 5, 2025
- Vendor
- curl
- Product
- curl
- Classifications
- CWE-924, T1557
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jul 7, 2022CVE publishedPublication date reported by the CVE source.
- May 5, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=Fixed in 7.84.0
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo