CVE-2019-7628Redhat Pagure
Medium 5.9 No auth needed
Follow: this CVE · Redhat · Redhat Pagure We alert you by email or Slack (account required).
- Priority
- 50
- CVSS 3.0
- 5.9
- EPSS
- 0.9% probability of exploitation in 30 days · percentile 61
- Auth required
- No
- Published
- Feb 8, 2019
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-200
- Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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.)
What to do
- Apply the vendor's security update for Pagure.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| redhat | pagure | 5.2 |
Official sources
References
Links published by the sources. Open them with care.