{"id":"CVE-2019-16791","aliases":["CVE-2019-16791","GHSA-h92m-42h4-82f6","PYSEC-2020-174"],"related":[],"kind":"vulnerability","state":"published","title":"downgrade of effective Strict Transport Security (STS) policy in postfix-mta-sts-resolver","summary":"In postfix-mta-sts-resolver before 0.5.1, All users can receive incorrect response from daemon under rare conditions, rendering downgrade of effective STS policy.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In postfix-mta-sts-resolver before 0.5.1, All users can receive incorrect response from daemon under rare conditions, rendering downgrade of effective STS policy.","source":"cvelist"},{"lang":"en","text":"## Incorrect query parsing\n\n### Impact\nAll users of versions prior to 0.5.1 can receive incorrect response from daemon under rare conditions, rendering downgrade of effective STS policy.\n\n### Patches\nProblem has been patched in version 0.5.1\n\n### Workarounds\nUsers may remediate this vulnerability without upgrading by applying [these patches](https://gist.github.com/Snawoot/b9da85d6b26dea5460673b29df1adc6b) to older suppoorted versions.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [postfix-mta-sts-resolver repo](https://github.com/Snawoot/postfix-mta-sts-resolver)\n* Email me at [vladislav at vm-0 dot com](mailto:vladislav-ex-gh-advisory@vm-0.com)","format":"markdown","source":"ghsa"},{"lang":"es","text":"En postfix-mta-sts-resolver versiones anteriores a 0.5.1, todos los usuarios pueden recibir una respuesta incorrecta del demonio bajo condiciones extrañas, renderizando una degradación de la política STS efectiva.","source":"nvd"}],"published":"2019-07-05T21:06:58.000Z","modified":"2026-09-10T03:47:52.688Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N","score":6.9,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N","score":6.9,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-757"],"affected":[{"ranges":[{"version":"< 0.5.1","status":"affected"}],"vendor":"Snawoot","product":"postfix-mta-sts-resolver","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.5.1"}],"ecosystem":"PyPI","package":"postfix-mta-sts-resolver","purl":"pkg:pypi/postfix-mta-sts-resolver","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"0.5.1"}],"vendor":"postfix-mta-sts-resolver_project","product":"postfix-mta-sts-resolver","cpe":"cpe:2.3:a:postfix-mta-sts-resolver_project:postfix-mta-sts-resolver:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.5.1"}],"ecosystem":"PyPI","package":"postfix-mta-sts-resolver","purl":"pkg:pypi/postfix-mta-sts-resolver","source":"pysec"}],"references":[{"url":"https://github.com/Snawoot/postfix-mta-sts-resolver/security/advisories/GHSA-h92m-42h4-82f6","tags":["advisory","patch","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://gist.github.com/Snawoot/b9da85d6b26dea5460673b29df1adc6b","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-16791","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/Snawoot/postfix-mta-sts-resolver","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/postfix-mta-sts-resolver/PYSEC-2020-174.yaml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2019-16791","url":"https://www.cve.org/CVERecord?id=CVE-2019-16791","licence":"CVE Terms of Use","modified":"2024-08-05T01:24:47.238Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-h92m-42h4-82f6","url":"https://github.com/advisories/GHSA-h92m-42h4-82f6","licence":"CC-BY-4.0","modified":"2026-09-10T03:47:52.688Z"},{"source":"nvd","name":"NVD","id":"CVE-2019-16791","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-16791","licence":"Public domain","modified":"2026-06-17T02:22:48.730Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2020-174","url":"https://osv.dev/vulnerability/PYSEC-2020-174","licence":"CC-BY-4.0","modified":"2023-11-08T04:01:21.829Z"}],"updatedAt":"2026-11-25T22:57:49.290Z","epss":{"score":0.00858,"percentile":0.56004,"date":"2026-11-30T12:00:22.000Z"}}