CVE-2019-16791 — postfix-mta-sts-resolver
MEDIUMCVE-2019-16791 is a medium-severity (CVSS 5.9) CWE-757 vulnerability in postfix-mta-sts-resolver. A fix is available for postfix-mta-sts-resolver — see the affected versions and patch details below.
postfix-mta-sts-resolver Algorithm Downgrade vulnerability
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
postfix-mta-sts-resolverReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.
Description
Incorrect query parsing
Impact
All users of versions prior to 0.5.1 can receive incorrect response from daemon under rare conditions, rendering downgrade of effective STS policy.
Patches
Problem has been patched in version 0.5.1
Workarounds
Users may remediate this vulnerability without upgrading by applying these patches to older suppoorted versions.
For more information
If you have any questions or comments about this advisory:
- Open an issue in postfix-mta-sts-resolver repo
- Email me at vladislav at vm-0 dot com
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐍PyPI | postfix-mta-sts-resolver | all versions | 0.5.1pip install --upgrade 'postfix-mta-sts-resolver==0.5.1' |
Affected Products
postfix-mta-sts-resolverpostfix-mta-sts-resolver_projectDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for postfix-mta-sts-resolver, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update postfix-mta-sts-resolver to 0.5.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2019-16791 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is CVE-2019-16791 in your dependencies?
Find it across PyPI, including transitive dependencies.