{"id":"CVE-2019-7628","state":"PUBLISHED","title":"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 acc","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.)","publishedAt":"2019-02-08T03:00:00.000Z","updatedAt":"2024-08-04T20:54:27.895Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://pagure.io/pagure/c/9905fb1e64341822366b6ab1d414d2baa230af0a","https://pagure.io/pagure/pull-request/4254","https://pagure.io/pagure/issue/4230","https://pagure.io/pagure/issue/4252","https://pagure.io/pagure/issue/4253"],"weaknesses":[],"ingestedAt":"2026-10-29T19:46:09.463Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2019/7xxx/CVE-2019-7628.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2019-7628","state":"PUBLISHED","datePublished":"2019-02-08T03:00:00.000Z","dateUpdated":"2024-08-04T20:54:27.895Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2019-02-07T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://pagure.io/pagure/c/9905fb1e64341822366b6ab1d414d2baa230af0a","tags":["x_refsource_MISC"]},{"url":"https://pagure.io/pagure/pull-request/4254","tags":["x_refsource_MISC"]},{"url":"https://pagure.io/pagure/issue/4230","tags":["x_refsource_MISC"]},{"url":"https://pagure.io/pagure/issue/4252","tags":["x_refsource_MISC"]},{"url":"https://pagure.io/pagure/issue/4253","tags":["x_refsource_MISC"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2019-02-08T03:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2019-02-07T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2019-7628","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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.)"}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://pagure.io/pagure/c/9905fb1e64341822366b6ab1d414d2baa230af0a","refsource":"MISC","url":"https://pagure.io/pagure/c/9905fb1e64341822366b6ab1d414d2baa230af0a"},{"name":"https://pagure.io/pagure/pull-request/4254","refsource":"MISC","url":"https://pagure.io/pagure/pull-request/4254"},{"name":"https://pagure.io/pagure/issue/4230","refsource":"MISC","url":"https://pagure.io/pagure/issue/4230"},{"name":"https://pagure.io/pagure/issue/4252","refsource":"MISC","url":"https://pagure.io/pagure/issue/4252"},{"name":"https://pagure.io/pagure/issue/4253","refsource":"MISC","url":"https://pagure.io/pagure/issue/4253"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://pagure.io/pagure/c/9905fb1e64341822366b6ab1d414d2baa230af0a","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://pagure.io/pagure/pull-request/4254","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://pagure.io/pagure/issue/4230","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://pagure.io/pagure/issue/4252","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://pagure.io/pagure/issue/4253","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T20:54:27.895Z"}}]}}}