Bug 26075 - java-1.8.0-openjdk new security issues
Summary: java-1.8.0-openjdk new security issues
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Security (show other bugs)
Version: 7
Hardware: All Linux
Priority: Normal critical
Target Milestone: ---
Assignee: QA Team
QA Contact: Sec team
URL:
Whiteboard: MGA7-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2020-01-15 09:56 CET by Nicolas Salguero
Modified: 2020-01-30 19:29 CET (History)
5 users (show)

See Also:
Source RPM: java-1.8.0-openjdk-1.8.0.232-1.b09.2.mga7.src.rpm
CVE:
Status comment:


Attachments

Description Nicolas Salguero 2020-01-15 09:56:36 CET
Oracle CPU:
https://www.oracle.com/security-alerts/cpujan2020.html#AppendixJAVA
Nicolas Salguero 2020-01-15 09:57:02 CET

Whiteboard: (none) => MGA7TOO
Source RPM: (none) => java-1.8.0-openjdk-1.8.0.232-1.b09.2.mga7.src.rpm
Assignee: bugsquad => nicolas.salguero

Comment 1 Nicolas Salguero 2020-01-21 09:56:33 CET
RedHat has issued an advisory yesterday (January 20):
https://access.redhat.com/errata/RHSA-2020:0157
Comment 2 David GEIGER 2020-01-21 10:05:59 CET
@Nicolas:

Have you an idea why tomcat fails to build on mga7 and Cauldron?

https://bugs.mageia.org/show_bug.cgi?id=25987#c4

CC: (none) => geiger.david68210

Comment 3 Nicolas Salguero 2020-01-21 10:27:23 CET
(In reply to David GEIGER from comment #2)
> @Nicolas:
> 
> Have you an idea why tomcat fails to build on mga7 and Cauldron?
> 
> https://bugs.mageia.org/show_bug.cgi?id=25987#c4

I am trying to look at that problem.  For what I understand, it does not correctly detect that we use a java 8 compiler and that the compilation must be done accordingly.  I will try to find a way to force it to take that information into account.
Comment 4 Nicolas Salguero 2020-01-21 11:19:02 CET
I did not understand correctly the problem but I manage to solve it.  I now think the problem is with our version of ECJ that do not have "CompilerOptions.VERSION_12" so, in my patch, I did the same thing as for "13" and replaced CompilerOptions.VERSION_12 by "12".
Comment 5 Nicolas Salguero 2020-01-21 11:53:16 CET
Suggested advisory:
========================

The updated packages fix security vulnerabilities:

Use of unsafe RSA-MD5 checkum in Kerberos TGS (Security, 8229951) (CVE-2020-2601)

Serialization filter changes via jdk.serialFilter property modification (Serialization, 8231422) (CVE-2020-2604)

Improper checks of SASL message properties in GssKrb5Base (Security, 8226352) (CVE-2020-2590)

Incorrect isBuiltinStreamHandler causing URL normalization issues (Networking, 8228548) (CVE-2020-2593)

Excessive memory usage in OID processing in X.509 certificate parsing (Libraries, 8234037) (CVE-2020-2654)

Incorrect exception processing during deserialization in BeanContextSupport (Serialization, 8224909) (CVE-2020-2583)

Incomplete enforcement of maxDatagramSockets limit in DatagramChannelImpl (Networking, 8231795) (CVE-2020-2659)

References:
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-2601
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-2604
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-2590
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-2593
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-2654
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-2583
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-2659
https://www.oracle.com/security-alerts/cpujan2020.html#AppendixJAVA
https://access.redhat.com/errata/RHSA-2020:0157
========================

Updated packages in core/updates_testing:
========================
java-1.8.0-openjdk-1.8.0.242-1.b07.1.mga7
java-1.8.0-openjdk-headless-1.8.0.242-1.b07.1.mga7
java-1.8.0-openjdk-devel-1.8.0.242-1.b07.1.mga7
java-1.8.0-openjdk-demo-1.8.0.242-1.b07.1.mga7
java-1.8.0-openjdk-src-1.8.0.242-1.b07.1.mga7
java-1.8.0-openjdk-javadoc-1.8.0.242-1.b07.1.mga7
java-1.8.0-openjdk-javadoc-zip-1.8.0.242-1.b07.1.mga7
java-1.8.0-openjdk-accessibility-1.8.0.242-1.b07.1.mga7
java-1.8.0-openjdk-openjfx-1.8.0.242-1.b07.1.mga7
java-1.8.0-openjdk-openjfx-devel-1.8.0.242-1.b07.1.mga7

from SRPMS:
java-1.8.0-openjdk-1.8.0.242-1.b07.1.mga7.src.rpm

Status: NEW => ASSIGNED
Whiteboard: MGA7TOO => (none)
Version: Cauldron => 7
Assignee: nicolas.salguero => qa-bugs

Comment 6 Herman Viaene 2020-01-23 10:50:31 CET
MGA7-64 Plasma on Lenovo B50
No installation issues
$ java -version
openjdk version "1.8.0_242"
OpenJDK Runtime Environment (build 1.8.0_242-b07)
OpenJDK 64-Bit Server VM (build 25.242-b07, mixed mode)
Took example file from bug 20220 
$ javac helloworld.java 
[tester7@mach5 Documenten]$ java helloworld 
Gtk-Message: 10:46:40.386: Failed to load module "canberra-gtk-module"
Hello World!
Hello World!
pressing the button twice.
OK for me.

Whiteboard: (none) => MGA7-64-OK
CC: (none) => herman.viaene

Comment 7 Thomas Andrews 2020-01-23 20:43:59 CET
Validating. Advisory in Comment 5.

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

Comment 8 Nicolas Salguero 2020-01-24 14:17:28 CET
That version of openjdk prevents building scilab (see bug 26061).

Keywords: validated_update => (none)
Whiteboard: MGA7-64-OK => feedback

Comment 9 Nicolas Salguero 2020-01-24 16:40:09 CET
RedHat has issued another advisory:
https://access.redhat.com/errata/RHSA-2020:0202

Blocks: (none) => 26061

Comment 10 Nicolas Salguero 2020-01-27 18:09:20 CET
Suggested advisory:
========================

The updated packages fix security vulnerabilities:

Use of unsafe RSA-MD5 checkum in Kerberos TGS (Security, 8229951) (CVE-2020-2601)

Serialization filter changes via jdk.serialFilter property modification (Serialization, 8231422) (CVE-2020-2604)

Improper checks of SASL message properties in GssKrb5Base (Security, 8226352) (CVE-2020-2590)

Incorrect isBuiltinStreamHandler causing URL normalization issues (Networking, 8228548) (CVE-2020-2593)

Excessive memory usage in OID processing in X.509 certificate parsing (Libraries, 8234037) (CVE-2020-2654)

Incorrect exception processing during deserialization in BeanContextSupport (Serialization, 8224909) (CVE-2020-2583)

Incomplete enforcement of maxDatagramSockets limit in DatagramChannelImpl (Networking, 8231795) (CVE-2020-2659)

References:
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-2601
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-2604
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-2590
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-2593
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-2654
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-2583
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-2659
https://www.oracle.com/security-alerts/cpujan2020.html#AppendixJAVA
https://access.redhat.com/errata/RHSA-2020:0202
========================

Updated packages in core/updates_testing:
========================
java-1.8.0-openjdk-1.8.0.242-1.b08.2.mga7
java-1.8.0-openjdk-headless-1.8.0.242-1.b08.2.mga7
java-1.8.0-openjdk-devel-1.8.0.242-1.b08.2.mga7
java-1.8.0-openjdk-demo-1.8.0.242-1.b08.2.mga7
java-1.8.0-openjdk-src-1.8.0.242-1.b08.2.mga7
java-1.8.0-openjdk-javadoc-1.8.0.242-1.b08.2.mga7
java-1.8.0-openjdk-javadoc-zip-1.8.0.242-1.b08.2.mga7
java-1.8.0-openjdk-accessibility-1.8.0.242-1.b08.2.mga7
java-1.8.0-openjdk-openjfx-1.8.0.242-1.b08.2.mga7
java-1.8.0-openjdk-openjfx-devel-1.8.0.242-1.b08.2.mga7

from SRPMS:
java-1.8.0-openjdk-1.8.0.242-1.b08.2.mga7.src.rpm

Blocks: 26061 => (none)
Whiteboard: feedback => (none)

Comment 11 Herman Viaene 2020-01-28 09:56:33 CET
Installed new version.
$ java -version
openjdk version "1.8.0_242"
OpenJDK Runtime Environment (build 1.8.0_242-b08)
OpenJDK 64-Bit Server VM (build 25.242-b08, mixed mode)
$ javac helloworld.java 
$ java helloworld 
Gtk-Message: 09:54:08.825: Failed to load module "canberra-gtk-module"
Hello World!
Hello World!
pressing the button twice.
OK for me, but giving Nicolas the final word on the scilab issue.
Comment 12 Nicolas Salguero 2020-01-28 13:06:47 CET
Hi,

The problem with scilab is now solved by reverting some changes introduced in 8u242 to get the same behaviour as 8u232.

Best regards,

Nico.
Herman Viaene 2020-01-28 13:12:02 CET

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

Comment 13 Thomas Andrews 2020-01-29 22:35:29 CET
Well then, validating once more. Advisory in Comment 10 this time.

Keywords: (none) => validated_update

Thomas Backlund 2020-01-30 18:19:41 CET

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

Comment 14 Mageia Robot 2020-01-30 19:29:54 CET
An update for this issue has been pushed to the Mageia Updates repository.

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

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


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