rpm: rpmbuild does not properly parse syntax of spec files
Published Jun 8, 2010
5.8
MEDIUMCVSS 2.0
EPSS 1.00%
Description
rpmbuild in RPM 4.8.0 and earlier does not properly parse the syntax of spec files, which allows user-assisted remote attackers to remove home directories via vectors involving a ;~ (semicolon tilde) sequence in a Name tag.
Affected products
No data.
Configuration 1
- 1.2
- 1.3
- 1.3.1
- 1.4
- 1.4.2
- 1.4.2\/a
- 1.4.3
- 1.4.4
- 1.4.5
- 1.4.6
- 1.4.7
- 2..4.10
- 2.0
- 2.0.1
- 2.0.2
- 2.0.3
- 2.0.4
- 2.0.5
- 2.0.6
- 2.0.7
- 2.0.8
- 2.0.9
- 2.0.10
- 2.0.11
- 2.1
- 2.1.1
- 2.1.2
- 2.2
- 2.2.1
- 2.2.2
- 2.2.3
- 2.2.3.10
- 2.2.3.11
- 2.2.4
- 2.2.5
- 2.2.6
- 2.2.7
- 2.2.8
- 2.2.9
- 2.2.10
- 2.2.11
- 2.3
- 2.3.1
- 2.3.2
- 2.3.3
- 2.3.4
- 2.3.5
- 2.3.6
- 2.3.7
- 2.3.8
- 2.3.9
- 2.4.1
- 2.4.2
- 2.4.3
- 2.4.4
- 2.4.5
- 2.4.6
- 2.4.8
- 2.4.9
- 2.4.11
- 2.4.12
- 2.5
- 2.5.1
- 2.5.2
- 2.5.3
- 2.5.4
- 2.5.5
- 2.5.6
- 2.6.7
- 3.0
- 3.0.1
- 3.0.2
- 3.0.3
- 3.0.4
- 3.0.5
- 3.0.6
- 4.0.
- 4.0.1
- 4.0.2
- 4.0.3
- 4.0.4
- 4.1
- 4.3.3
- 4.4.2
- 4.4.2.1
- 4.4.2.2
- 4.4.2.3
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
Red Hat statement
We do not consider this to be a security issue as it does not introduce any additional risk in using untrusted RPM .spec files. RPM .spec files can do a lot of things, regardless of how rpmbuild parses the syntax, because certain sections of the .spec file (%prep, %build, etc.) are treated as shell scripts. Because of the ability to easily include malicious commands anywhere, an untrusted .spec file should be carefully examined prior to building, the same as if you were to download and execute an untrusted shell script.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:M/Au:N/C:N/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (10 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 1.00% (0.00998) | 61.40th | v5 (v2026.06.15) |
| Jun 15, 2026 | 1.00% (0.00998) | 58.06th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.43% (0.00430) | 60.45th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.26% (0.00262) | 66.47th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.26% (0.00262) | 64.98th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.26% (0.00262) | 62.11th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.05% (0.01055) | 52.13th | v2 (v2022.01.01) |
| Sep 17, 2022 | 1.05% (0.01055) | 50.47th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.05% (0.01055) | 48.43th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.05% (0.01055) | 27.52th | v2 (v2022.01.01) |
References (6)
- https://access.redhat.com/security/cve/CVE-2010-2197 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=125517 x_refsource_CONFIRM
- https://bugzilla.redhat.com/show_bug.cgi?id=603244 Issue Tracking
- https://exchange.xforce.ibmcloud.com/vulnerabilities/59423 vdb-entryx_refsource_XF
- https://nvd.nist.gov/vuln/detail/CVE-2010-2197
- https://www.cve.org/CVERecord?id=CVE-2010-2197
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2010-2197 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=125517 | x_refsource_CONFIRM | |
| https://bugzilla.redhat.com/show_bug.cgi?id=603244 | Issue Tracking | |
| https://exchange.xforce.ibmcloud.com/vulnerabilities/59423 | vdb-entryx_refsource_XF | |
| https://nvd.nist.gov/vuln/detail/CVE-2010-2197 | ||
| https://www.cve.org/CVERecord?id=CVE-2010-2197 |
Change history (0)
No recorded changes yet.