CVE-2011-1156: Vulnerability in feedparser
Summary
CVE-2011-1156: feedparser denial of service vulnerability. Affects feedparser versions >= 4.1, < 5.0.1. Fixed in 5.0.1. How to fix ↓
Also tracked for
- feedparser · Debian:11
The same CVE-2011-1156 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
feedparser is a Python library used for parsing RSS and Atom feeds. It provides a convenient way to extract and process feed data. However, versions before 5.0.1 are vulnerable to a moderate severity issue. This vulnerability allows remote attackers to cause a denial of service (application crash) by exploiting a malformed DOCTYPE declaration.
Vulnerability Detail
The vulnerability in feedparser arises from a lack of proper input validation when processing DOCTYPE declarations. An attacker can craft a malicious feed with a malformed DOCTYPE declaration, which can lead to an application crash when the feed is parsed. This can result in a denial of service, disrupting the normal functioning of the application. The impact of this vulnerability is limited to a crash and does not allow for remote code execution or data compromise.
How To Fix
Minimum fixed version
5.0.1
This is the first release that contains the fix.
pip install --upgrade "feedparser==5.0.1"
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
There is no specific workaround available for this vulnerability. Upgrading to the fixed version is the recommended solution.
Conclusion
In conclusion, the vulnerability in feedparser allows remote attackers to cause a denial of service by exploiting a malformed DOCTYPE declaration. Upgrading to version 5.0.1 or later of feedparser is recommended to fix this issue. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for feedparser →
FAQ
feedparser is a Python library used for parsing RSS and Atom feeds. It provides a convenient way to extract and process feed data.
The vulnerability allows remote attackers to cause a denial of service (application crash) by exploiting a malformed DOCTYPE declaration. However, it does not allow for remote code execution or data compromise.
To fix this vulnerability, it is recommended to upgrade to version 5.0.1 or later of feedparser.
No, there is no specific workaround available. Upgrading to the fixed version is the recommended solution.
You can find more information about this vulnerability in the CVE-2011-1156 advisory.
Related vulnerabilities
Recent vulnerabilities recorded for feedparser.