CVE-2017-9274 json
osc executes spec code during "osc commit"
published 2018-03-01 8 y ago modified 2026-06-17 4 mo ago also EUVD-2017-18210
- cvss
- 7.8
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.3%
- EPSS 2.3% chance of exploitation in 30 days, percentile 83%
- public exploits
- 0
- none known
Summary
A shell command injection in the obs-service-source_validator before 0.7 could be used to execute code as the packager when checking RPM SPEC files with specific macro constructs.
Patch / fix
- SUSE obs-service-source_validator 0.7
- osc Debian 14, Debian 13, Debian 12 0.162.1-1
debian advisories DEBIAN-CVE-2017-9274
- osc SLE Software Development Kit 11 SP4 0.162.1-7.4.1
- build SLE Software Development Kit 11 SP4 20171128-8.3.3
- osc SLE Software Development Kit 12 SP3, SLE Software Development Kit 12 SP2 0.162.0-15.3.1
- build SLE Software Development Kit 12 SP3, SLE Software Development Kit 12 SP2 20171128-9.3.2
- obs-service-source_validator SLE Software Development Kit 12 SP3, SLE Software Development Kit 12 SP2 0.7-9.3.1
suse advisories SUSE-SU-2018:0065-1SUSE-SU-2017:3253-1
- obs-service-source_validator openSUSE Tumbleweed 0.21-1.3
opensuse advisories openSUSE-SU-2024:11106-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-9274 updated cvss 7.8
osc: Macro expansion can lead to arbitray code execution
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.31% chance of exploitation in the next 30 days, higher than 83% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 7.8 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 3.0 | 7.8 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 9.3 | AV:N/AC:M/Au:N/C:C/I:C/A:C |
Affected products
- SUSE obs-service-source_validator
Classification
- Weakness
-
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
References
Sources
- CVE List CVE-2017-9274
- NVD CVE-2017-9274
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.