What’s Vulnerable › Vulnerabilities
CVE-2019-7628
- Severity: medium (CVSS 5.9 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2019-02-08 · updated 2026-06-17
- Weakness: CWE-200
Description
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.)
Affected products
References
- https://pagure.io/pagure/c/9905fb1e64341822366b6ab1d414d2baa230af0a
- https://pagure.io/pagure/issue/4230
- https://pagure.io/pagure/issue/4252
- https://pagure.io/pagure/issue/4253
- https://pagure.io/pagure/pull-request/4254
- https://pagure.io/pagure/c/9905fb1e64341822366b6ab1d414d2baa230af0a
- https://pagure.io/pagure/issue/4230
- https://pagure.io/pagure/issue/4252
- https://pagure.io/pagure/issue/4253
- https://pagure.io/pagure/pull-request/4254
Get alerted when CVE-2019-7628 or the next vulnerability affects your stack