CWE-375: Returning a Mutable Object to an Untrusted Caller
Filter
The code sends non-cloned mutable data as a return value may result in that data being altered or deleted by the calling function.
What the weakness is: CWE-375 at MITRE. All weaknesses
Ask an AI about CWE-375
Show the prompt
Explain CWE-375: Returning a Mutable Object to an Untrusted Caller and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/375.html and https://cve.bz/cve/cwe/375?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.
No records match.