Updated: 2025-12-18 18:00:58.124893
Description:
1. A cookie is set using the `secure` keyword for `https://target` 2. curl is redirected to or otherwise made to speak with `http://target` (same hostname, but using clear text HTTP) using the same cookie set 3. The same cookie name is set - but with just a slash as path (`path='/'`). Since this site is not secure, the cookie *should* just be ignored. 4. A bug in the path comparison logic makes curl read outside a heap buffer boundary The bug either causes a crash or it potentially makes the comparison come to the wrong conclusion and lets the clear-text site override the contents of the secure cookie, contrary to expectations and depending on the memory contents immediately following the single-byte allocation that holds the path. The presumed and correct behavior would be to plainly ignore the second set of the cookie since it was already set as secure on a secure host so overriding it on an insecure host should not be okay.
| Links | NIST | CIRCL | RHEL | Ubuntu |
| Severity | Score | |
|---|---|---|
| CVSS Version 2.x | NONE | 0.0 |
| CVSS Version 3.x | MEDIUM | 5.3 |
| OS name | Project name | Version | Score | Severity | Status | Errata | Last updated | Statement |
|---|---|---|---|---|---|---|---|---|
| CentOS 8.4 ELS | curl | 7.61.1 | 5.3 | MEDIUM | Released | CLSA-2026:1767808644 | 2026-01-07 20:16:01 | |
| CentOS 8.5 ELS | curl | 7.61.1 | 5.3 | MEDIUM | Released | CLSA-2026:1767807099 | 2026-01-07 20:16:03 | |
| CentOS Stream 8 ELS | curl | 7.61.1 | 5.3 | MEDIUM | Needs Triage | 2025-12-19 01:44:24 |