Overview
This week we look at the latest security updates for the Linux kernel, Firefox, ImageMagick, OpenStack and more, plus we have a special guest, the maintainer and lead developer of the AppArmor project, John Johansen, to talk about the project and some of the upcoming features.
This week in Ubuntu Security Updates
[USN-4031-1] Linux kernel vulnerability
1 CVEs addressed in Bionic, Cosmic, DiscoCVE-2019-1281764-bit PowerPC (ppc64el) memory management issue - introduced in the 4.17kernel - so only affects Cosmic/Disco or Bionic when using the HWE kernel
Different processes might be able to read / write to each others virtualmemory
Requirements:Must be using the hash page table MMU - eg. PowerPC 970 (G5), PA6T,Power5/6/7/8/9
By default Power9 bare-metal use the Radix MMU so are not affectedunless have explicitly disabled this via the kernel command-line
KVM guests would also be affected in this case or if alsoexplicitly configured to use the HPT MMU
Logical partitions (LPARs) under PowerVM on Power9 would beaffected as they always use HPT MMU
Need to allocate memory above 512TB - only possible via mmap()Any child process (fork()) receives same context-id for the memorymapping so can just read/write to the mappings above 512TB
If child exits, a 3rd process could be reallocated the samecontext-id and so could then read/write also
Only a subset of PowerPC systems will be affected by this and would needto be running applications which allocate above 512TB so whilst is high
impact, low probability of being at risk
[USN-4032-1] Firefox vulnerability
1 CVEs addressed in Xenial, Bionic, Cosmic, DiscoCVE-2019-11708Firefox 67.0.4 - latest upstream releasePossible for a sandboxed child process to escape the sandbox by using IPCto send a Prompt:Open message to the parent which would then process
web-content on behalf of the child
Since parent is not sandboxed, it could be then exploited (say byleveraging another vulnerability such as the one discussed last week for
Firefox) for arbitrary code execution
[USN-4033-1] libmysofa vulnerability
1 CVEs addressed in Bionic, Cosmic, DiscoCVE-2019-10672C library to read SOFA (Spatially Oriented Format for Acoustics) filesUsed by lots of different applications that handle audio, likegstreamer, ffmpeg, smplayer, blender etc
Integer overflow leading to buffer overflow - crash -> DoS or possiblecode-execution
[USN-4034-1] ImageMagick vulnerabilities
30 CVEs addressed in Xenial, Bionic, Cosmic, DiscoCVE-2019-9956CVE-2019-7398CVE-2019-7397CVE-2019-7396CVE-2019-7395CVE-2019-7175CVE-2019-11598CVE-2019-11597CVE-2019-11472CVE-2019-11470CVE-2019-10650CVE-2019-10649CVE-2019-10131CVE-2018-20467CVE-2018-18544CVE-2018-18025CVE-2018-18024CVE-2018-18023CVE-2018-18016CVE-2018-17966CVE-2018-17965CVE-2018-16645CVE-2018-16644CVE-2018-16413CVE-2018-16412CVE-2018-16323CVE-2018-15607CVE-2018-14434CVE-2017-12806CVE-2017-12805Used by many automated systems for image processing etcMany memory corruption issues fixed - most able to cause at least a crash(DoS) but might be possible to also get RCE
Also updated the default policy to disable support for PostScript and PDFformats (since these are handle by GhostScript which has a long history
of security issues itself) - Cosmic + Disco
This is already the case on Bionic (USN-3785-1 - Episode 7)[USN-4035-1] Ceph vulnerabilities
4 CVEs addressed in Xenial, Cosmic, DiscoCVE-2019-3821CVE-2018-16889CVE-2018-16846CVE-2018-146622 CVEs affect ceph in Xenialdm-crypt disk encryption keys were able to be read by users withread-only permissions - fixed to ensure need an explicit permission to
read keys
DoS from authenticated RGW users2 Cosmic+DiscoDoes not properly sanitize encryption keys when outputting debug loginformation for v4 auth -so encryption keys would be output in
plaintext to debug logs
fixed to sanitize before outputwon’t be fixed for Xenial since upstream hasn’t backported this andthere are many instances of other sensitive info being logged there
as well
DoS by unauthenticated remote users via the civetweb frontend - as theycould create connections to a RADOS gateway to exhaust file descriptors
for the gateway service causing it to run out and fail to create new
connections
Close fd on error path[USN-4036-1] OpenStack Neutron vulnerability
1 CVEs addressed in Xenial, CosmicCVE-2019-9735Networking abstraction layer of OpenStackAllows to define security groups with rules which then get executed by adriver using a particular underlying technology
Rules can specify protocols and source / destination portsiptables driver would execute rules but if encountered an error (such asa protocol was specified along with a port but the protocol doesn’t
support ports - like VRRP) then it would error out and not apply further
rules from the security group
So could block other rules from being appliedFixed to ensure port arguments are only applied to protocols whichsupport them
[USN-4037-1] policykit-desktop-privileges update
Affecting Xenial, Bionic, Cosmic, DiscoPolicyKit policy update for USB CreatorPreviously would allow a user with admin privileges (ie. in theadmin/sudo group) to overwrite disks (ie create bootable USB images)
without prompting for authentication
Now updated to require the user to also authenticate as well[USN-4038-1, USN-4038-2] bzip2 vulnerabilities
2 CVEs addressed in Precise ESM, Trusty ESM, Xenial, Bionic, Cosmic, DiscoCVE-2019-12900CVE-2016-3189UAF via crafted bzip2 file - crash, DoSOOB write from crafted bzip2 which contains too many selectors - possibleRCE
Turns out this breaks decompression of some bzip2 files created by thelbzip2 utility since it would use an invalid number of selectors -
upstream still pondering how to fix this
[USN-4040-1, USN-4040-2] Expat vulnerability
1 CVEs addressed in Precise ESM, Trusty ESM, Xenial, Bionic, Cosmic, DiscoCVE-2018-20843CPU DoS if XML names contained large number of colons (used to specifynamespace prefix)
[USN-4042-1] poppler vulnerabilities
13 CVEs addressed in Xenial, Bionic, Cosmic, DiscoCVE-2019-9903CVE-2019-9631CVE-2019-9200CVE-2019-12293CVE-2019-10873CVE-2019-10872CVE-2019-10023CVE-2019-10021CVE-2019-10019CVE-2019-10018CVE-2018-20662CVE-2018-18897CVE-2017-9865Usual mix of issuesMemory leakStack exhaustion -> crash, DoS3*Heap-based buffer over-readsNULL pointer dereferenceVarious floating point exception issuesAssertion failureHeap-based buffer under-write - so write at a negative index of a heapallocated buffer - crash, DoS or possible RCE via heap metadata or
object corruption
[USN-4041-1, USN-4041-2] Linux kernel update
1 CVEs addressed in Trusty ESM (HWE), Xenial, Bionic, Cosmic, DiscoCVE-2019-11479Final SACK Panic issue (Episode 37) - added sysctl to easily set MSS (isusually hard-coded to 48) - so can be increased to avoid this DoS issue
Goings on in Ubuntu Security Community
AppArmor interview with John Johansen
https://gitlab.com/apparmor/apparmorhttps://wiki.ubuntu.com/AppArmorHiring
Robotics Security Engineer
https://boards.greenhouse.io/canonical/jobs/1550997Ubuntu Security Engineer
https://boards.greenhouse.io/canonical/jobs/1723997Get in contact
#ubuntu-security on the Libera.Chat IRC network@ubuntu_sec on twitter