CVE-2024-9681
CVE-2024-9681 · HSTS subdomain overwrites parent cache entry
Здесь приведены факты из открытых источников об уязвимостях. Перед обновлением ознакомьтесь с исходным сообщением.
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.
CVSS 5.9 · Средний · EPSS 2,0% · Есть исправление
- Опубликовано
- Обновлено
Стек: system
Затронутые продукты и версии
curl
- Версии
- ≥ 8.10.1, ≤ 8.10.1: Затронуто (semver)
- ≥ 8.10.0, ≤ 8.10.0: Затронуто (semver)
- ≥ 8.9.1, ≤ 8.9.1: Затронуто (semver)
- ≥ 8.9.0, ≤ 8.9.0: Затронуто (semver)
- ≥ 8.8.0, ≤ 8.8.0: Затронуто (semver)
- ≥ 8.7.1, ≤ 8.7.1: Затронуто (semver)
- ≥ 8.7.0, ≤ 8.7.0: Затронуто (semver)
- ≥ 8.6.0, ≤ 8.6.0: Затронуто (semver)
- ≥ 8.5.0, ≤ 8.5.0: Затронуто (semver)
- ≥ 8.4.0, ≤ 8.4.0: Затронуто (semver)
- ≥ 8.3.0, ≤ 8.3.0: Затронуто (semver)
- ≥ 8.2.1, ≤ 8.2.1: Затронуто (semver)
- ≥ 8.2.0, ≤ 8.2.0: Затронуто (semver)
- ≥ 8.1.2, ≤ 8.1.2: Затронуто (semver)
- ≥ 8.1.1, ≤ 8.1.1: Затронуто (semver)
- ≥ 8.1.0, ≤ 8.1.0: Затронуто (semver)
- ≥ 8.0.1, ≤ 8.0.1: Затронуто (semver)
- ≥ 8.0.0, ≤ 8.0.0: Затронуто (semver)
- ≥ 7.88.1, ≤ 7.88.1: Затронуто (semver)
- ≥ 7.88.0, ≤ 7.88.0: Затронуто (semver)
- ≥ 7.87.0, ≤ 7.87.0: Затронуто (semver)
- ≥ 7.86.0, ≤ 7.86.0: Затронуто (semver)
- ≥ 7.85.0, ≤ 7.85.0: Затронуто (semver)
- ≥ 7.84.0, ≤ 7.84.0: Затронуто (semver)
- ≥ 7.83.1, ≤ 7.83.1: Затронуто (semver)
- ≥ 7.83.0, ≤ 7.83.0: Затронуто (semver)
- ≥ 7.82.0, ≤ 7.82.0: Затронуто (semver)
- ≥ 7.81.0, ≤ 7.81.0: Затронуто (semver)
- ≥ 7.80.0, ≤ 7.80.0: Затронуто (semver)
- ≥ 7.79.1, ≤ 7.79.1: Затронуто (semver)
- ≥ 7.79.0, ≤ 7.79.0: Затронуто (semver)
- ≥ 7.78.0, ≤ 7.78.0: Затронуто (semver)
- ≥ 7.77.0, ≤ 7.77.0: Затронуто (semver)
- ≥ 7.76.1, ≤ 7.76.1: Затронуто (semver)
- ≥ 7.76.0, ≤ 7.76.0: Затронуто (semver)
- ≥ 7.75.0, ≤ 7.75.0: Затронуто (semver)
- ≥ 7.74.0, ≤ 7.74.0: Затронуто (semver)
Нет опубликованного исправления
curl Debian:12
- Версии
- 7.88.1-10
- 7.88.1-10+deb12u1
- 7.88.1-10+deb12u1~bpo11+1
- 7.88.1-10+deb12u2
- 7.88.1-10+deb12u3
- 7.88.1-10+deb12u3~bpo11+1
- 7.88.1-10+deb12u4
- 7.88.1-10+deb12u5
- 7.88.1-10+deb12u5~bpo11+1
- 7.88.1-10+deb12u6
- 7.88.1-10+deb12u6~bpo11+1
- 7.88.1-10+deb12u7
- 7.88.1-10+deb12u8
- Затронутые диапазоны версий
- ECOSYSTEM: < 7.88.1-10+deb12u9
Обновитесь до 7.88.1-10+deb12u9
curl Debian:13
- Затронутые диапазоны версий
- ECOSYSTEM: < 8.11.0-1
Обновитесь до 8.11.0-1
curl Debian:14
- Затронутые диапазоны версий
- ECOSYSTEM: < 8.11.0-1
Обновитесь до 8.11.0-1
curl Ubuntu:22.04:LTS
- Версии
- 7.74.0-1.3ubuntu2
- 7.74.0-1.3ubuntu3
- 7.80.0-3
- 7.81.0-1
- 7.81.0-1ubuntu1.1
- 7.81.0-1ubuntu1.2
- 7.81.0-1ubuntu1.3
- 7.81.0-1ubuntu1.4
- 7.81.0-1ubuntu1.6
- 7.81.0-1ubuntu1.7
- 7.81.0-1ubuntu1.8
- 7.81.0-1ubuntu1.10
- 7.81.0-1ubuntu1.11
- 7.81.0-1ubuntu1.13
- 7.81.0-1ubuntu1.14
- 7.81.0-1ubuntu1.15
- 7.81.0-1ubuntu1.16
- 7.81.0-1ubuntu1.17
- 7.81.0-1ubuntu1.18
- Затронутые диапазоны версий
- ECOSYSTEM: < 7.81.0-1ubuntu1.19
Обновитесь до 7.81.0-1ubuntu1.19
curl Ubuntu:24.04:LTS
- Версии
- 8.2.1-1ubuntu3
- 8.2.1-1ubuntu3.1
- 8.4.0-2ubuntu1
- 8.5.0-2ubuntu1
- 8.5.0-2ubuntu2
- 8.5.0-2ubuntu8
- 8.5.0-2ubuntu9
- 8.5.0-2ubuntu10
- 8.5.0-2ubuntu10.1
- 8.5.0-2ubuntu10.2
- 8.5.0-2ubuntu10.3
- 8.5.0-2ubuntu10.4
- Затронутые диапазоны версий
- ECOSYSTEM: < 8.5.0-2ubuntu10.5
Обновитесь до 8.5.0-2ubuntu10.5
Первоисточники
- https://curl.se/docs/CVE-2024-9681.json
- https://curl.se/docs/CVE-2024-9681.html
- https://hackerone.com/reports/2764830
- http://www.openwall.com/lists/oss-security/2024/11/06/2
- https://security.netapp.com/advisory/ntap-20241213-0006/
- http://seclists.org/fulldisclosure/2025/Apr/13
- http://seclists.org/fulldisclosure/2025/Apr/10
- http://seclists.org/fulldisclosure/2025/Apr/9
- http://seclists.org/fulldisclosure/2025/Apr/8
- http://seclists.org/fulldisclosure/2025/Apr/5
- http://seclists.org/fulldisclosure/2025/Apr/4
- http://seclists.org/fulldisclosure/2025/Apr/12
- http://seclists.org/fulldisclosure/2025/Apr/11
- https://nvd.nist.gov/vuln/detail/CVE-2024-9681