CVE-2013-4409: Eval() Vulnerability in Djblets 0.7.21 and Beanbag Review Board
Summary
CVE-2013-4409: An eval() vulnerability exists in Python Software Foundation Djblets 0.7.21 and Beanbag Review Board before 1.7.15 when parsing JSON requests. Affects djblets versions < 0.7.21. Fixed in 0.7.21. How to fix ↓
Also tracked for
- reviewboard · PyPI
The same CVE-2013-4409 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
Djblets is a Python Software Foundation package that provides a set of utilities and APIs for building web-based applications. It is commonly used in conjunction with Beanbag Review Board, a web-based code review tool. Djblets allows parsing of JSON requests, which makes it susceptible to an eval() vulnerability. This vulnerability exists in versions prior to 0.7.21 of Djblets and all versions of Beanbag Review Board before 1.7.15.
Vulnerability Detail
The eval() vulnerability in Djblets and Beanbag Review Board arises when parsing JSON requests. This vulnerability can be exploited by an attacker to execute arbitrary code within the application's context. The use of eval() allows the execution of untrusted input, leading to potential remote code execution, privilege escalation, or other malicious activities.
How To Fix
Latest published version: 6.1.0 as of 23 Oct 2026
pip install --upgrade "djblets==6.1.0"
Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.
If you need the minimum change
0.7.21
This is the first release that contains the fix.
pip install --upgrade "djblets==0.7.21"
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
A possible workaround for this vulnerability is to avoid using eval() when parsing JSON requests. Instead, implement a safer alternative such as using JSON deserialization libraries or validating and parsing the JSON data manually.
Conclusion
The eval() vulnerability in Djblets and Beanbag Review Board when parsing JSON requests can lead to the execution of arbitrary code within the application's context. To mitigate this risk, it is essential to upgrade Djblets to version 0.7.21 or later and ensure Beanbag Review Board is updated to version 1.7.15 or above. For further assistance or support in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for djblets →
FAQ
The vulnerability allows an attacker to execute arbitrary code within the application's context, potentially leading to remote code execution, privilege escalation, or other malicious activities.
No, only versions prior to 0.7.21 of Djblets and all versions of Beanbag Review Board before 1.7.15 are affected by this vulnerability.
There have been reports of exploits targeting this vulnerability, emphasizing the importance of applying the recommended updates and fixes.
Yes, this vulnerability can be exploited remotely if the affected application is accessible over the network.
While there is no specific evidence of active attacks exploiting this vulnerability, it is crucial to apply the necessary updates and fixes to mitigate the risk.
Related vulnerabilities
Recent vulnerabilities recorded for djblets.