Bug 21649 - groovy18 possibly missing fix for security issue CVE-2015-3253
Summary: groovy18 possibly missing fix for security issue CVE-2015-3253
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Security (show other bugs)
Version: 6
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact: Sec team
URL:
Whiteboard: MGA6-32-OK MGA6-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2017-09-01 03:32 CEST by David Walser
Modified: 2017-09-07 11:08 CEST (History)
6 users (show)

See Also:
Source RPM: groovy18-1.8.9-26.1.mga7.src.rpm
CVE:
Status comment:


Attachments

Description David Walser 2017-09-01 03:32:31 CEST
Fedora has issued an advisory today (August 31):
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/I2E3KU5UUQCI7TN3MCB6I6JI2EE7GR77/

We fixed this in groovy 1.8.x in Mageia 5 a long time ago (Bug 16393), but it looks like Fedora failed to add the fix to the groovy18 package.  Our packages are synced with theirs, so we also probably need to fix this again in Mageia 6 and Cauldron.
David Walser 2017-09-01 03:32:48 CEST

CC: (none) => geiger.david68210
Whiteboard: (none) => MGA6TOO

Comment 1 David GEIGER 2017-09-01 18:06:40 CEST
Done for Cauldron and also Mageia 6!
Comment 2 David Walser 2017-09-01 21:46:50 CEST
Advisory:
========================

Updated groovy18 packages fix security vulnerability:

When an application has Groovy on the classpath and that it uses standard Java
serialization mechanim to communicate between servers, or to store local data,
it is possible for an attacker to bake a special serialized object that will
execute code directly when deserialized. All applications which rely on
serialization and do not isolate the code which deserializes objects are
subject to this vulnerability (CVE-2015-3253).

References:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-3253
http://groovy-lang.org/security.html
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/I2E3KU5UUQCI7TN3MCB6I6JI2EE7GR77/
========================

Updated packages in core/updates_testing:
========================
groovy18-1.8.9-26.2.mga6
groovy18-lib-1.8.9-26.2.mga6
groovy18-javadoc-1.8.9-26.2.mga6

from groovy18-1.8.9-26.2.mga6.src.rpm

Whiteboard: MGA6TOO => (none)
Assignee: mageia => qa-bugs
CC: (none) => mageia
Version: Cauldron => 6

Comment 3 William Kenney 2017-09-03 19:36:21 CEST
In VirtualBox, M6, Mate, 64-bit

Package(s) under test:
groovy18 groovy18-lib groovy18-javadoc

default install of groovy18 groovy18-lib & groovy18-javadoc

[root@localhost wilcal]# urpmi groovy18
Package groovy18-1.8.9-26.1.mga6.noarch is already installed
[root@localhost wilcal]# urpmi groovy18-lib
Package groovy18-lib-1.8.9-26.1.mga6.noarch is already installed
[root@localhost wilcal]# urpmi groovy18-javadoc
Package groovy18-javadoc-1.8.9-26.1.mga6.noarch is already installed

All packages installed without error

install groovy18 groovy18-lib & groovy18-javadoc from updates_testing

[root@localhost wilcal]# urpmi groovy18
Package groovy18-1.8.9-26.2.mga6.noarch is already installed
[root@localhost wilcal]# urpmi groovy18-lib
Package groovy18-lib-1.8.9-26.2.mga6.noarch is already installed
[root@localhost wilcal]# urpmi groovy18-javadoc
Package groovy18-javadoc-1.8.9-26.2.mga6.noarch is already installed

All packages updated without error

Whiteboard: (none) => MGA5-64-OK
CC: (none) => wilcal.int

Comment 4 William Kenney 2017-09-03 19:44:08 CEST
In VirtualBox, M6, Mate, 32-bit

Package(s) under test:
groovy18 groovy18-lib groovy18-javadoc

default install of groovy18 groovy18-lib & groovy18-javadoc

[root@localhost wilcal]# urpmi groovy18
Package groovy18-1.8.9-26.1.mga6.noarch is already installed
[root@localhost wilcal]# urpmi groovy18-lib
Package groovy18-lib-1.8.9-26.1.mga6.noarch is already installed
[root@localhost wilcal]# urpmi groovy18-javadoc
Package groovy18-javadoc-1.8.9-26.1.mga6.noarch is already installed

All packages installed without error

install groovy18 groovy18-lib & groovy18-javadoc from updates_testing

[root@localhost wilcal]# urpmi groovy18
Package groovy18-1.8.9-26.2.mga6.noarch is already installed
[root@localhost wilcal]# urpmi groovy18-lib
Package groovy18-lib-1.8.9-26.2.mga6.noarch is already installed
[root@localhost wilcal]# urpmi groovy18-javadoc
Package groovy18-javadoc-1.8.9-26.2.mga6.noarch is already installed

All packages updated without error
William Kenney 2017-09-03 19:44:23 CEST

Whiteboard: MGA5-64-OK => MGA5-32-OK MGA5-64-OK

Comment 5 William Kenney 2017-09-03 19:45:29 CEST
I'm going to validate this in 24-hours unless someone
can come up with a simple test procedure.
William Kenney 2017-09-03 19:46:51 CEST

Whiteboard: MGA5-32-OK MGA5-64-OK => MGA6-32-OK MGA6-64-OK

Comment 6 Len Lawrence 2017-09-03 20:09:43 CEST
Re comment 5.
OK Bill.  Looking back it seems I tested this, possibly on mga5 and found a tutorial and adapted some simple scripts to make sure groovy worked.
I shall run the same basic tests and then you can go ahead.  Thanks.

CC: (none) => tarazed25

Comment 7 Len Lawrence 2017-09-03 20:34:32 CEST
mga6  x86_64

Installed the groovy18 packages from core/updates testing.

Tried out a few totally trivial scripts adapted from examples at :
https://www.pegasoft.ca/docs/groovy.html
--------------------------------------------------------------------------------------
// File hello.gvy
class Foo {
   int i = 2;
   void print_i( ) {
      println "The value of i is " + i;
   }
}
Foo f = new Foo( );
f.print_i( );
--------------------------------------------------------------------------------------
// File: hash.groovy
applecart = [ "Bramley":11, "GrannySmith":22, "OrangePippin":28, "GoldenDelicious":15 ];
println "The applecart map looks like this: " + applecart;
println "The class of the map is " + applecart.getClass( );
println "The size of the map is " + applecart.size( );
println "The size of an empty map is " + [:].size( );
grannysmiths = applecart['GrannySmith']
println "The number of Granny Smiths is $grannysmiths";
applecart["OrangePippin"] = 24;
println "There are " + applecart["OrangePippin"] + " OrangePippins left";
println "Peaches there are " + applecart["peach"];

def fruit = applecart['Bramley']

if ( fruit ==~ /^[A-Z].*/ ) {
   println "Looks like these might be apples"
} else {
   println "Cannot be apples"
}
--------------------------------------------------------------------------------------
// File closures.gvy
// Closures

def some_function = { 2 * 2 }

println some_function
println some_function()

some_function = { 2 * it }  // it is a parameter
println some_function( 3 )
--------------------------------------------------------------------------------------
$ groovy hello.gvy
The value of i is 2

$ groovy hash.groovy
The applecart map looks like this: [Bramley:11, GrannySmith:22, OrangePippin:28, GoldenDelicious:15]
The class of the map is class java.util.LinkedHashMap
The size of the map is 4
The size of an empty map is 0
The number of Granny Smiths is 22
There are 24 OrangePippins left
Peaches there are null
Cannot be apples

$ groovy closures.gvy
closures$_run_closure1@d4342c2
4
6

These all look OK.  The negative result of the regular expression check was
the same in the tutorial.

At this primitive level the software works.
Comment 8 William Kenney 2017-09-03 20:38:30 CEST
This update works fine.
Testing complete for MGA5, 32-bit & 64-bit
Validating the update.
Could someone from the sysadmin team push to updates.
Thanks

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

Lewis Smith 2017-09-05 10:03:52 CEST

Whiteboard: MGA6-32-OK MGA6-64-OK => MGA6-32-OK MGA6-64-OK advisory
CC: (none) => lewyssmith

Comment 9 Samuel Verschelde 2017-09-06 15:11:32 CEST
Moving 'advisory' from whiteboard to keywords now that madb has been updated to handle that keyword.

Keywords: (none) => advisory
Whiteboard: MGA6-32-OK MGA6-64-OK advisory => MGA6-32-OK MGA6-64-OK

Comment 10 Mageia Robot 2017-09-07 11:08:14 CEST
An update for this issue has been pushed to the Mageia Updates repository.

http://advisories.mageia.org/MGASA-2017-0333.html

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


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