CVE-2013-2217: Improper Link Resolution Before File Access in Suds
Summary
CVE-2013-2217: Improper Link Resolution Before File Access in Suds. Affects suds versions < 1.0.0. Fixed in 1.0.0. How to fix ↓
Also tracked for
The same CVE-2013-2217 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
Suds is a Python library used for consuming web services. It provides a high-level interface for interacting with SOAP-based web services. Suds version 0.4 is affected by a vulnerability that allows local users to redirect SOAP queries and potentially have other unspecified impacts. This vulnerability occurs when the 'tempdir' parameter is set to None, which leads to improper link resolution before file access in the 'cache.py' file. An attacker can exploit this vulnerability through a symlink attack on a cache file with a predictable name in the '/tmp/suds/' directory.
Vulnerability Detail
The vulnerability in Suds version 0.4 arises from the improper handling of file access when the 'tempdir' parameter is set to None. By leveraging a symlink attack on a cache file with a predictable name in the '/tmp/suds/' directory, an attacker can redirect SOAP queries and potentially cause other unspecified impacts. This can lead to unauthorized access, data manipulation, or denial of service. The vulnerability has a low severity rating and is classified under CWE-59.
How To Fix
Latest published version: 1.2.0 as of 22 Oct 2026
pip install --upgrade "suds==1.2.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
1.0.0
This is the first release that contains the fix.
pip install --upgrade "suds==1.0.0"
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
If upgrading to the latest version is not feasible, a workaround is to manually set the 'tempdir' parameter to a secure directory. By specifying a directory with restricted access permissions, the risk of symlink attacks can be mitigated. Here is an example of how to set the 'tempdir' parameter to a secure directory:
import suds suds.client.Client(tempdir='/path/to/secure/directory')
Conclusion
In conclusion, Suds version 0.4 is affected by a vulnerability that allows local users to redirect SOAP queries and potentially have other unspecified impacts. It is recommended to upgrade to Suds version 1.0.0 or later to fix this vulnerability. If upgrading is not possible, users can implement the provided workaround to mitigate the risk. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for suds →
FAQ
Suds is a Python library used for consuming web services. It provides a high-level interface for interacting with SOAP-based web services.
Suds version 0.4 is affected by this vulnerability.
This vulnerability allows local users to redirect SOAP queries and potentially have other unspecified impacts. It can lead to unauthorized access, data manipulation, or denial of service.
To fix this vulnerability, it is recommended to upgrade to Suds version 1.0.0 or later. Users can update their Suds installation by running the command 'pip install --upgrade suds'.
Yes, if upgrading to the latest version is not feasible, a workaround is to manually set the 'tempdir' parameter to a secure directory. By specifying a directory with restricted access permissions, the risk of symlink attacks can be mitigated.
Related vulnerabilities
Recent vulnerabilities recorded for suds.