Summary
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)
Fixed packages 6
| Release | Package | Fixed in |
|---|---|---|
| SUSE · SLES 12 SP2 Linux Enterprise Software Development Kit 12 SP2 | build | 20171128-9.3.2 |
| SUSE · SLES 12 SP2 Linux Enterprise Software Development Kit 12 SP2 | obs-service-source_validator | 0.7-9.3.1 |
| SUSE · SLES 12 SP2 Linux Enterprise Software Development Kit 12 SP2 | osc | 0.162.0-15.3.1 |
| SUSE · SLES 12 SP3 Linux Enterprise Software Development Kit 12 SP3 | build | 20171128-9.3.2 |
| SUSE · SLES 12 SP3 Linux Enterprise Software Development Kit 12 SP3 | obs-service-source_validator | 0.7-9.3.1 |
| SUSE · SLES 12 SP3 Linux Enterprise Software Development Kit 12 SP3 | osc | 0.162.0-15.3.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.
-
High 7.2
cpio, as used in build 2007.05.10, 2010.07.28, and possibly other versions, allows remote attackers to overwrite arbitr…
References
-
report
https://bugzilla.suse.com/1059858
-
report
https://bugzilla.suse.com/1061500
-
report
https://bugzilla.suse.com/1069904
-
report
https://bugzilla.suse.com/665768
-
report
https://bugzilla.suse.com/938556
-
web
https://www.suse.com/security/cve/CVE-2010-4226
-
web
https://www.suse.com/security/cve/CVE-2017-14804
-
web
https://www.suse.com/security/cve/CVE-2017-9274