Bug 28380 - thrift, golang-github-apache-thrift new security issue CVE-2020-13949
Summary: thrift, golang-github-apache-thrift new security issue CVE-2020-13949
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Security (show other bugs)
Version: 8
Hardware: All Linux
Priority: Normal critical
Target Milestone: ---
Assignee: QA Team
QA Contact: Sec team
URL: https://nvd.nist.gov/vuln/detail/CVE-...
Whiteboard: MGA8-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks: 24174
  Show dependency treegraph
 
Reported: 2021-02-19 10:52 CET by Zombie Ryushu
Modified: 2021-12-23 22:02 CET (History)
7 users (show)

See Also:
Source RPM: thrift-0.13.0-2.mga8.src.rpm, golang-github-apache-thrift-devel-0.13.0-1.mga8.src.rpm
CVE: CVE-2020-13949
Status comment:


Attachments

Description Zombie Ryushu 2021-02-19 10:52:47 CET
In Apache Thrift 0.9.3 to 0.13.0, malicious RPC clients could send short messages which would result in a large memory allocation, potentially leading to denial of service.
Zombie Ryushu 2021-02-19 13:46:06 CET

Component: RPM Packages => Security
CVE: (none) => CVE-2020-13949
QA Contact: (none) => security

Comment 1 Aurelien Oudelet 2021-02-19 14:59:24 CET
'apache-thrift' is not a Mageia srpm

CC: (none) => ouaurelien
Resolution: (none) => INVALID
Status: NEW => RESOLVED

Comment 2 Zombie Ryushu 2021-02-19 15:06:26 CET
Hold on, I'll fix it. There.

Resolution: INVALID => (none)
Source RPM: apache-thrift => golang-github-apache-thrift-0.13.0-1.mga8.src.rpm
Status: RESOLVED => REOPENED

Zombie Ryushu 2021-02-19 15:11:34 CET

Summary: [Update Request] apache-thrift (CVE-2020-13949) => [Update Request] golang-github-apache-thrift (CVE-2020-13949)

Comment 3 Aurelien Oudelet 2021-02-19 15:13:51 CET
Thanks for reporting this.
Assigned to the package maintainer.

(Please set the status to 'assigned' if you are working on it)

Assignee: bugsquad => pterjan

Comment 4 David Walser 2021-02-19 21:57:20 CET
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-13949

The issue is fixed upstream in 0.14.0.

Whiteboard: (none) => MGA8TOO, MGA7TOO
Summary: [Update Request] golang-github-apache-thrift (CVE-2020-13949) => thrift new security issue CVE-2020-13949
Source RPM: golang-github-apache-thrift-0.13.0-1.mga8.src.rpm => thrift-0.13.0-2.mga8.src.rpm
Assignee: pterjan => java
Blocks: (none) => 24174
Severity: normal => critical

Comment 5 David Walser 2021-02-19 21:59:22 CET
Upstream advisory from February 11:
https://www.openwall.com/lists/oss-security/2021/02/11/2

Apparently both "thrift" packages are affected:
https://bugzilla.redhat.com/show_bug.cgi?id=1928172#c1

Summary: thrift new security issue CVE-2020-13949 => thrift, golang-github-apache-thrift new security issue CVE-2020-13949
Status comment: (none) => Fixed upstream in 0.14.0
CC: (none) => pterjan
Source RPM: thrift-0.13.0-2.mga8.src.rpm => thrift-0.13.0-2.mga8.src.rpm, golang-github-apache-thrift-devel-0.13.0-1.mga8.src.rpm

Comment 6 Pascal Terjan 2021-02-22 16:55:44 CET
I had a look last night and we have 2 source packages for the same sources:
- thrift builds for all languages except go (explicitly disabled)
- golang-github-apache-thrift only builds the go part

So yes both should be fixed, with the same patch.

However I couldn't easily find the individual fix and 0.14.0 changes the soname.
Comment 7 David Walser 2021-02-22 18:48:52 CET
Could we consolidate those into one SRPM?
Comment 10 Nicolas Lécureuil 2021-03-24 21:45:48 CET
Fixed in cauldron.

Whiteboard: MGA8TOO, MGA7TOO => MGA7TOO
Version: Cauldron => 8

Comment 11 David Walser 2021-07-01 18:47:30 CEST
Removing Mageia 7 from whiteboard due to EOL:
https://blog.mageia.org/en/2021/06/08/mageia-7-will-reach-end-of-support-on-30th-of-june-the-king-is-dead-long-live-the-king/

Whiteboard: MGA7TOO => (none)

Comment 12 Nicolas Lécureuil 2021-12-14 00:14:11 CET
fixed in mga8:

src:
    - thrift-0.14.0-1.mga8
    - golang-github-apache-thrift-0.14.0-1.mga8

Assignee: java => qa-bugs
Status comment: Fixed upstream in 0.14.0 => (none)

Comment 13 David Walser 2021-12-14 01:36:21 CET
thrift-0.14.0-1.mga8
libthrift0-0.14.0-1.mga8
libthrift-devel-0.14.0-1.mga8
python3-thrift-0.14.0-1.mga8
perl-thrift-0.14.0-1.mga8
compat-golang-apache-thrift-devel-0.14.0-1.mga8
golang-github-apache-thrift-devel-0.14.0-1.mga8
Comment 14 Herman Viaene 2021-12-15 16:22:09 CET
MGA8-64 Plasma on Lenovo B50 in Dutch
No installation issues (apart from drawing in a load of depenencies)
No wiki, no previous updates. Looking for tutorial or example found https://thrift.apache.org/ , but this isall developer's area.

CC: (none) => herman.viaene

Comment 15 Thomas Andrews 2021-12-22 14:48:30 CET
I looked at the link Herman found, and indeed this is developer stuff. (BTW, the website offers 0.15.0 as the version for download.)

As is usual with this sort of thing, I'm going to pass it on the basis of Herman's clean install. Validating.

Whiteboard: (none) => MGA8-64-OK
Keywords: (none) => validated_update
CC: (none) => andrewsfarm, sysadmin-bugs

Dave Hodgins 2021-12-23 19:14:12 CET

CC: (none) => davidwhodgins
Keywords: (none) => advisory

Comment 16 Mageia Robot 2021-12-23 22:02:52 CET
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGASA-2021-0578.html

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


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