Когда для передачи HTTP(S) используется токен носителя OAuth2, и эта передача выполняет перенаправление на второй URL-адрес, Curl может передать этот токен второму URL-адресу. имя хоста при некоторых обстоятельствах. Если имя хоста, на который перенаправляется первый запрос, содержит информацию в используемый файл .netrc с ключевыми словами `machine` или `default`, curl передаст набор токенов носителя для первого хоста и второму.
Показать оригинальное описание (EN)
When an OAuth2 bearer token is used for an HTTP(S) transfer, and that transfer performs a redirect to a second URL, curl could leak that token to the second hostname under some circumstances. If the hostname that the first request is redirected to has information in the used .netrc file, with either of the `machine` or `default` keywords, curl would pass on the bearer token set for the first host also to the second one.
Характеристики атаки
Последствия
Строка CVSS v3.1