{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2019-7628","id":"CVE-2019-7628","title":"Pagure 5.2 leaks API keys by e-mailing them to users","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 k","descriptionLong":"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.)","published":"2019-02-08T03:00:00.000Z","updated":"2026-06-17T02:40:46.637Z","reserved":"2019-02-07T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"NVD"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:P/I:N/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[],"cwes":["CWE-200"],"aliases":[],"references":[{"url":"https://pagure.io/pagure/c/9905fb1e64341822366b6ab1d414d2baa230af0a","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Patch","Vendor Advisory"]},{"url":"https://pagure.io/pagure/pull-request/4254","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Patch","Vendor Advisory"]},{"url":"https://pagure.io/pagure/issue/4230","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Patch","Vendor Advisory"]},{"url":"https://pagure.io/pagure/issue/4252","tags":["x_refsource_MISC","x_transferred","Broken Link"]},{"url":"https://pagure.io/pagure/issue/4253","tags":["x_refsource_MISC","x_transferred","Broken Link"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00901,"epssPercentile":0.60377,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2019-7628","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-7628","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2019-7628","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2019-7628","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}