Vulnerabilities · 2022 · Haxx
CVE-2022-35260
Haxx Curl vulnerability
curl can be told to parse a `.netrc` file for credentials. If that file endsin a line with 4095 consecutive non-white space letters and no newline, curlwould first read past the end of the stack-based buffer, and if the readworks, write a zero byte beyond its boundary.This will in most cases cause a segfault or similar, but circumstances might also cause different outcomes.If a malicious user can provide a custom netrc file to an application or otherwise affect its contents, this flaw could be used as denial-of-service.
Affected products
Curl, Clustered Data Ontap, H300s Firmware, H500s Firmware, H700s Firmware, H410s Firmware, Macos, Universal Forwarder. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Haxx Curl runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- hackerone.com/reports/1721098 · Exploit
- seclists.org/fulldisclosure/2023/Jan/19 · Third Party Advisory
- seclists.org/fulldisclosure/2023/Jan/20 · Third Party Advisory
- security.gentoo.org/glsa/202212-01 · Third Party Advisory
- security.netapp.com/advisory/ntap-20230110-0006/ · Third Party Advisory
- support.apple.com/kb/HT213604 · Third Party Advisory
- support.apple.com/kb/HT213605 · Third Party Advisory
- cert-portal.siemens.com/productcert/html/ssa-398330.html
- nvd.nist.gov/vuln/detail/CVE-2022-35260
- cve.org/CVERecord?id=CVE-2022-35260
More vulnerabilities in Haxx products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.