Description
When asking curl to use a `.netrc` file to find credentials and at the same time specifying a URL with a username (without a password), like `https://user@example.com/`, curl could wrongly get and use the password for *another* user set in the `.netrc` file for that host if such a one exists and there is no match for the specified user.
CVSS breakdown
CVSS 3.1
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
Affected products
- curl / curle9b9bbac22c26cf67316fa8e6c6b9e831af31949 – 4ae1d7cc2643e4773a136395f12bc02fc6867854
- curl / curl8.19.0 – 8.19.0
- curl / curl8.18.0 – 8.18.0
- curl / curl8.17.0 – 8.17.0
- curl / curl8.16.0 – 8.16.0
- curl / curl8.15.0 – 8.15.0
- curl / curl8.14.1 – 8.14.1
- curl / curl8.14.0 – 8.14.0
- curl / curl8.13.0 – 8.13.0
- curl / curl8.12.1 – 8.12.1
- curl / curl8.12.0 – 8.12.0
- curl / curl8.11.1 – 8.11.1
- curl / curl8.20.0 – 8.20.0
- curl / curl8.11.1 – 8.14.2
- curl / curl8.15.0 – 8.16.1
- curl / curl8.17.0 – 8.20.1
- haxx / curl8.11.1 – 8.21.0
Updated 15m ago · 8 sources