Summary
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.
Fixed packages 2
| Release | Package | Fixed in |
|---|---|---|
| SUSE · SLES 11 SP4 Linux Enterprise Software Development Kit 11 SP4 | build | 20171128-8.3.3 |
| SUSE · SLES 11 SP4 Linux Enterprise Software Development Kit 11 SP4 | osc | 0.162.1-7.4.1 |
Vulnerabilities 3
-
Critical 9.9
package builds could use directory traversal to write outside of target area
The build package before 20171128 did not check directory names during extraction of build results that allowed untrusted builds to write outside of the target system,allowing escape out of buildroots.
-
High 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.
-
Unscored —
Multiple unspecified vulnerabilities in the obs-service-extract_file package before 0.3-5.1 in openSUSE Leap 42.1 and b…
References
-
report
https://bugzilla.suse.com/1059858
-
report
https://bugzilla.suse.com/1069904
-
report
https://bugzilla.suse.com/796918
-
report
https://bugzilla.suse.com/827480
-
report
https://bugzilla.suse.com/891829
-
report
https://bugzilla.suse.com/938556
-
report
https://bugzilla.suse.com/967265
-
report
https://bugzilla.suse.com/967610
-
web
https://www.suse.com/security/cve/CVE-2016-4007
-
web
https://www.suse.com/security/cve/CVE-2017-14804
-
web
https://www.suse.com/security/cve/CVE-2017-9274