CVE-2019-7628
What it is
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.)
At a glance
- Exploitability
- Can be exploited over the network without logging in. High risk of data exposure.
- Exploit odds
- 0.9% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.9% in the next 30 days (EPSS).
- Severity: 5.9 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.9% · EPSS, next 30 days
- Weakness
- CWE-200 · Information exposure
- Record status
- Modified
Affected
- Redhat Pagure 5.2
Attack profile CVSS 3.0 · 5.9
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Raw vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2019-7628.md and follow it. Check whether this project is affected by CVE-2019-7628. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://pagure.io/pagure/c/9905fb1e64341822366b6ab1d414d2baa230af0a
- https://pagure.io/pagure/issue/4230
- https://pagure.io/pagure/pull-request/4254
- https://pagure.io/pagure/c/9905fb1e64341822366b6ab1d414d2baa230af0a
- https://pagure.io/pagure/issue/4230
- https://pagure.io/pagure/pull-request/4254
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