Advisory

DEBIAN-CVE-2024-9681

Also known as: CVE-2024-9681

Summary

The record has no summary.

Details

When curl is asked to use HSTS, the expiry time for a subdomain might overwrite a parent domain's cache entry, making it end sooner or later than otherwise intended. This affects curl using applications that enable HSTS and use URLs with the insecure HTTP:// scheme and perform transfers with hosts like x.example.com as well as example.com where the first host is a subdomain of the second host. (The HSTS cache either needs to have been populated manually or there needs to have been previous HTTPS accesses done as the cache needs to have entries for the domains involved to trigger this problem.) When x.example.com responds with Strict-Transport-Security: headers, this bug can make the subdomain's expiry timeout *bleed over* and get set for the parent domain example.com in curl's HSTS cache. The result of a triggered bug is that HTTP accesses to example.com get converted to HTTPS for a different period of time than what was asked for by the origin server. If example.com for example stops supporting HTTPS at its expiry time, curl might then fail to access http://example.com until the (wrongly set) timeout expires. This bug can also expire the parent's entry *earlier*, thus making curl inadvertently switch back to insecure HTTP earlier than otherwise intended.

Severity

Medium Basis: CVSS v3 score 6.5, vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:L

Dates

Published
2024-11-06 08:15 UTC
Modified
2026-11-02 12:03 UTC

Affected packages and fixes

curl

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 7.88.1-10+deb12u9 (ecosystem)

Fixed versions

7.88.1-10+deb12u9

Fix

  • Fixed version 7.88.1-10+deb12u9
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

curl

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 8.11.0-1 (ecosystem)

Fixed versions

8.11.0-1

Fix

  • Fixed version 8.11.0-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

curl

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 8.11.0-1 (ecosystem)

Fixed versions

8.11.0-1

Fix

  • Fixed version 8.11.0-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences