Описание
When asked to both use a .netrc
file for credentials and to follow HTTP
redirects, curl could leak the password used for the first host to the
followed-to host under certain circumstances.
This flaw only manifests itself if the netrc file has an entry that matches
the redirect target hostname but the entry either omits just the password or
omits both login and password.
A flaw was found in curl. A logic error when processing credentials from the .netrc file while performing redirects allows the transfer of credentials from the original host to the followed-to host under certain circumstances, leaking the credentials to the followed-to host.
Отчет
This issue only affects curl when a .netrc
file is used and a redirect is performed. Additionally, the .netrc
must match the target hostname but the followed-to host does not have a password or both login and password configured.
Example of a vulnerable .netrc configuration:
Меры по смягчению последствий
Avoid using the .netrc file together with redirects.
Затронутые пакеты
Платформа | Пакет | Состояние | Рекомендация | Релиз |
---|---|---|---|---|
Red Hat Enterprise Linux 10 | curl | Fix deferred | ||
Red Hat Enterprise Linux 10 | mysql8.4 | Affected | ||
Red Hat Enterprise Linux 6 | curl | Out of support scope | ||
Red Hat Enterprise Linux 6 | mysql | Not affected | ||
Red Hat Enterprise Linux 7 | curl | Out of support scope | ||
Red Hat Enterprise Linux 8 | curl | Fix deferred | ||
Red Hat Enterprise Linux 9 | curl | Fix deferred | ||
Red Hat JBoss Core Services | curl | Fix deferred | ||
Red Hat OpenShift Container Platform 4 | rhcos | Fix deferred | ||
Red Hat Enterprise Linux 8 | mysql | Fixed | RHSA-2025:1673 | 19.02.2025 |
Показывать по
Дополнительная информация
Статус:
EPSS
5.9 Medium
CVSS3
Связанные уязвимости
When asked to both use a `.netrc` file for credentials and to follow HTTP redirects, curl could leak the password used for the first host to the followed-to host under certain circumstances. This flaw only manifests itself if the netrc file has an entry that matches the redirect target hostname but the entry either omits just the password or omits both login and password.
When asked to both use a `.netrc` file for credentials and to follow HTTP redirects, curl could leak the password used for the first host to the followed-to host under certain circumstances. This flaw only manifests itself if the netrc file has an entry that matches the redirect target hostname but the entry either omits just the password or omits both login and password.
When asked to both use a `.netrc` file for credentials and to follow H ...
EPSS
5.9 Medium
CVSS3