Bug 26068 - libzypp new security issue CVE-2019-18900
Summary: libzypp new security issue CVE-2019-18900
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Security (show other bugs)
Version: 7
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: QA Team
QA Contact: Sec team
URL:
Whiteboard: MGA7-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2020-01-13 23:39 CET by David Walser
Modified: 2020-06-11 00:27 CEST (History)
6 users (show)

See Also:
Source RPM: libzypp-17.9.0-1.mga7.src.rpm
CVE:
Status comment:


Attachments

Description David Walser 2020-01-13 23:39:27 CET
SUSE has issued an advisory today (January 13):
http://lists.suse.com/pipermail/sle-security-updates/2020-January/006333.html

Mageia 7 is also affected.
David Walser 2020-01-13 23:39:44 CET

Whiteboard: (none) => MGA7TOO

Comment 1 David Walser 2020-02-27 22:49:58 CET
openSUSE has issued an advisory for this today (February 27):
https://lists.opensuse.org/opensuse-updates/2020-02/msg00106.html
Comment 2 David Walser 2020-03-04 23:57:47 CET
Debian-LTS has issued an advisory for this on March 3:
https://www.debian.org/lts/security/2020/dla-2132
Comment 3 David GEIGER 2020-03-05 04:11:47 CET
On Cauldron seems fixed in current 17.20.0 release.

CC: (none) => geiger.david68210

Comment 4 David GEIGER 2020-03-05 04:24:38 CET
This issue is fixed from release 17.19.0 and higher.
David Walser 2020-03-05 04:30:00 CET

Source RPM: libzypp-17.15.0-1.mga8.src.rpm => libzypp-17.9.0-1.mga7.src.rpm
Whiteboard: MGA7TOO => (none)
Version: Cauldron => 7

Comment 5 Nicolas Lécureuil 2020-05-23 21:16:55 CEST
Advisory:
Libzypp from mageia 7 is affected by a security issue.
This update fixes this.


Incorrect Default Permissions vulnerability in libzypp allowed local attackers to read a cookie store used by libzypp, exposing private cookies.

References:
https://bugzilla.suse.com/show_bug.cgi?id=1158763
https://github.com/openSUSE/libzypp/pull/196
https://github.com/openSUSE/libzypp/commit/ea50981352bb5c7ab48663edaeb2df1ddd66953e
https://github.com/openSUSE/libzypp/commit/508b1201f23b44ee90dee6dbbeb3ac5f8bd4c089

rpms:
zypp-common-17.9.0-1.1.mga7
libzypp1709-17.9.0-1.1.mga7
libzypp-devel-17.9.0-1.1.mga7
libzypp-doc-17.9.0-1.1.mga7

from:
libzypp-17.9.0-1.1.mga7

CC: (none) => mageia
Assignee: cjw => qa-bugs

Comment 6 Herman Viaene 2020-05-24 15:42:04 CEST
MGA7-64 Plasma on Lenovo B50
No installation issues.
No previous update, so hunting around.
# urpmq --whatrequires-recursive zypp-common
lib64zypp-devel
lib64zypp-devel
lib64zypp1709
lib64zypp1709
libzypp-doc
libzypp-doc
zypp-common
zypp-common
zypper

Installed zypper, but this a a complex command from what zypper -h shows.

$ zypper -V
zypper 1.14.16

$ zypper list-updates
Loading repository data...
Warning: No repositories defined. Operating only with the installed resolvables. Nothing can be installed.
Reading installed packages...
No updates found.

Googling brings me https://www.thegeekstuff.com/2015/04/zypper-examples/
This seems SUSE exclusive stuff, so I wonder what it is doing in Mageia.
Suggesting OK on clean install???

CC: (none) => herman.viaene

Comment 7 Len Lawrence 2020-05-27 10:15:58 CEST
@Herman with respect to comment 6:

If what is required is to test this within a SUSE subsystem then it does look like a lot of work, setting up repositories and all; dozens of them at https://download.opensuse.org/repositories/ with lots of subdivisions (SuseStudio has versions of Mandriva going way back).

The bug seems to be about cookie based authentication and file permissions.  Hard to see how to set up something to test that.

$ locate zypp | grep etc | grep -vi fetch
/etc/zypp
/etc/dnf/aliases.d/zypper.conf
/etc/logrotate.d/zypp-history.lr
/etc/zypp/needreboot
/etc/zypp/systemCheck
/etc/zypp/zypp.conf

The last file shows how complex a problem it would be to set things up.  Nearly all the parameters are commented out.

Conclusion - go ahead and release it.

CC: (none) => tarazed25

Herman Viaene 2020-05-27 11:28:16 CEST

Whiteboard: (none) => MGA7-64-OK

Comment 8 Thomas Andrews 2020-05-29 02:49:55 CEST
If you two are in agreement, who am I to argue? ;-)

Validating. Advisory in Comment 5.

Keywords: (none) => validated_update
CC: (none) => andrewsfarm, sysadmin-bugs

Nicolas Lécureuil 2020-06-10 23:09:00 CEST

Keywords: (none) => advisory

Comment 9 Mageia Robot 2020-06-11 00:27:30 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGASA-2020-0245.html

Resolution: (none) => FIXED
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.