Information disclosure in Red Hat Pagure
CVE-2019-7628
Pagure 5.2 leaks API keys by e-mailing them to users. Few e-mail servers validate TLS certificates, so it is easy for man-in-the-middle attackers to read these e-mails and gain access to Pagure on behalf of other users. This issue is found in the API token expiration reminder cron job in files/api_key_expire_mail.py; disabling that job is also a viable solution. (E-mailing a substring of the API key was an attempted, but rejected, solution.)
Vulnerability class: Information Disclosure
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.009, 60.2th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Red Hat Pagure — versions 5.2
Weakness classification (CWE)
References
- pagure.io/pagure/c/9905fb1e64341822366b6ab1d414d2baa230af0a (Patch, Issue Tracking, Vendor Advisory)
- pagure.io/pagure/pull-request/4254 (Patch, Issue Tracking, Vendor Advisory)
- pagure.io/pagure/issue/4230 (Patch, Issue Tracking, Vendor Advisory)
- pagure.io/pagure/issue/4252 (Broken Link)
- pagure.io/pagure/issue/4253 (Broken Link)