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
EPSS: 0.009 (56.0th percentile) — read the EPSS interpretation.
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.
Affected products
- Redhat Pagure — versions 5.2
- N/a — versions n/a
Weakness classification (CWE)
References
- cve@mitre.org (Patch, x_refsource_MISC, Issue Tracking, Vendor Advisory)
- cve@mitre.org (Patch, x_refsource_MISC, Issue Tracking, Vendor Advisory)
- cve@mitre.org (Patch, x_refsource_MISC, Issue Tracking, Vendor Advisory)
- cve@mitre.org (x_refsource_MISC, Broken Link)
- cve@mitre.org (x_refsource_MISC, Broken Link)
Frequently asked questions
- What is CVE-2019-7628?
- CVE-2019-7628 is a medium-severity vulnerability in Red Hat Pagure, classified under Information Disclosure. CVSS score: 5.9/10. Published 2019-02-08.
- How severe is CVE-2019-7628?
- Medium severity. CVSS v3 base score is 5.9 out of 10.