`http.cookiejar` applies expired `Set-Cookie` to cookie store before policy validation
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Python Software Foundation | CPython | unaffected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Python | Cpython |
|
||||||||
| Python Software Foundation | Cpython |
|
No CVSS v3.1
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.272% probability within 30 days)
Key SSVC decision points have not yet been added.
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Python
Python cpython Python Software Foundation Python Software Foundation cpython |
|
| Vendors & Products |
Python
Python cpython Python Software Foundation Python Software Foundation cpython |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | http.cookiejar.CookieJar deleted a stored cookie when a response carried an already expired Set-Cookie header for it, using the Domain and Path attributes from the header without consulting the cookie policy. A server could therefore delete cookies belonging to other domains from a shared cookie jar, such as the one used by urllib's HTTPCookieProcessor. The fix consults the cookie policy before an expired cookie may delete an existing one, as required by RFC 6265 section 5.3. | |
| Title | `http.cookiejar` applies expired `Set-Cookie` to cookie store before policy validation | |
| Weaknesses | CWE-346 | |
| References |
| |
| Metrics |
cvssV4_0
|