CWE-243: Creation of chroot Jail Without Changing Working Directory
Filter
The product uses the chroot() system call to create a jail, but it does not change the working directory afterward.
What the weakness is: CWE-243 at MITRE. All weaknesses
Ask an AI about CWE-243
Show the prompt
Explain CWE-243: Creation of chroot Jail Without Changing Working Directory and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/243.html and https://cve.bz/cve/cwe/243?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.