Every CVE Search/ Get API key

CVE-2017-9274

osc executes spec code during "osc commit"

7.8 HighFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

2.31%Up 0.9 points since Apr 14, 2021
90%50%10%1%

What each source reports

CVE List Score used 7.8

osc executes spec code during "osc commit"

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.

Record
CVE-2017-9274
CVSS 3.0
7.8 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-78
Updated
2026-11-02
EUVDEUVD-2017-18210 7.8

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.

Record
EUVD-2017-18210
CVSS 3.0
7.8 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-03
GitHub AdvisoriesGHSA-rmgp-j5rm-7ghv 7.8

A shell command injection in the obs-service-source_validator before 0.7 could be used to execute...

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.

Record
GHSA-rmgp-j5rm-7ghv
CVSS 3.0
7.8 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-78
Updated
2026-11-02
NVD 7.8

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.

Record
CVE-2017-9274
CVSS 3.0
7.8 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0
9.3 HighAV:N/AC:M/Au:N/C:C/I:C/A:C
Weakness
CWE-78
Updated
2026-11-02
OSV 7.8

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.

Record
CVE-2017-9274
CVSS 3.0
7.8 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2017-9274 7.8

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.

Record
DEBIAN-CVE-2017-9274
CVSS 3.0
7.8 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 4 moreShow less
OSVUBUNTU-CVE-2017-9274 7.8

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.

Record
UBUNTU-CVE-2017-9274
CVSS 3.0
7.8 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVopenSUSE-SU-2024:11106-1 No score

obs-service-source_validator-0.21-1.3 on GA media

These are all security issues fixed in the obs-service-source_validator-0.21-1.3 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:11106-1
Updated
2026-11-02
OSVSUSE-SU-2017:3253-1 No score

Fixing security issues on OBS toolchain

This OBS toolchain update fixes the following issues:

Package 'build':

  • CVE-2010-4226: force use of bsdtar for VMs (bnc#665768)
  • CVE-2017-14804: Improve file name check extractbuild (bsc#1069904)
  • switch baselibs scheme for debuginfo packages from foo-debuginfo-32bit to foo-32bit-debuginfo (fate#323217)

Package 'obs-service-source_validator':

  • CVE-2017-9274: Don't use rpmbuild to extract sources, patches etc. from a spec (bnc#938556).
  • Update to version 0.7
  • use spec_query instead of output_versions using the specfile parser from the build package (boo#1059858)

Package 'osc':

  • update to version 0.162.0
  • add Recommends: ca-certificates to enable TLS verification without manually installing them. (bnc#1061500)
Record
SUSE-SU-2017:3253-1
Updated
2026-11-02
OSVSUSE-SU-2018:0065-1 No score

Fixing security issues on OBS toolchain

This OBS toolchain update fixes the following issues:

Package 'build':

  • CVE-2017-14804: Improve file name check extractbuild (bsc#1069904)
  • Fixed Dockerfile repository parsing

Package 'obs-service-source_validator':

  • CVE-2017-9274: Don't use rpmbuild to extract sources, patches etc. from a spec (bnc#938556).
  • CVE-2016-4007: Several maintained source services are vulnerable to code/paramter injection (bsc#967265)
  • Update to version 0.7.
  • Use spec_query instead of output_versions using the specfile parser from the build package (boo#1059858)
  • obs-service-source_validator: several occurrences of uninitialized value (bsc#967610)
  • hack for util-linux specfiles (bnc#891829)
  • fix dependency to gnupg2 for Fedora (bnc#827480)
  • exit if tmpdir creation fails (bnc#796918)

Package 'osc':

  • Update to version 0.162.0.
Record
SUSE-SU-2018:0065-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
osc
Debian:12
before 0.162.1-1
0.162.1-1
osc
Debian:13
before 0.162.1-1
0.162.1-1
osc
Debian:14
before 0.162.1-1
0.162.1-1
build
SUSE:Linux Enterprise Software Development Kit 12 SP2
before 20171128-9.3.2
20171128-9.3.2
obs-service-source_validator
SUSE:Linux Enterprise Software Development Kit 12 SP2
before 0.7-9.3.1
0.7-9.3.1
osc
SUSE:Linux Enterprise Software Development Kit 12 SP2
before 0.162.0-15.3.1
0.162.0-15.3.1
build
SUSE:Linux Enterprise Software Development Kit 12 SP3
before 20171128-9.3.2
20171128-9.3.2
obs-service-source_validator
SUSE:Linux Enterprise Software Development Kit 12 SP3
before 0.7-9.3.1
0.7-9.3.1
osc
SUSE:Linux Enterprise Software Development Kit 12 SP3
before 0.162.0-15.3.1
0.162.0-15.3.1
build
SUSE:Linux Enterprise Software Development Kit 11 SP4
before 20171128-8.3.3
20171128-8.3.3
osc
SUSE:Linux Enterprise Software Development Kit 11 SP4
before 0.162.1-7.4.1
0.162.1-7.4.1
osc
Ubuntu:16.04:LTS
All versions, plus listed versions
0.152.0-1
None known
obs-service-source_validator
openSUSE:Tumbleweed
before 0.21-1.3
0.21-1.3

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2017-9274 is a high vulnerability (CVSS 7.8) in Opensuse Obs-service-source Validator, published December 8, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.31%, the 83rd percentile. Fixed in osc 0.162.1-1.

References

Show 19 moreShow less
MoveEnter Open