Home / mailings [gentoo-announce] [ GLSA 201607-17 ] BeanShell: Arbitrary code execution
Posted on 30 July 2016
Gentoo-announceThis is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--NptruQowUgGIMjOjhBFU6ajivHjD4rA6P
Content-Type: multipart/mixed; boundary="Hm25lStnPFC7Mi6SloWBUQsoslqtSfkXU"
From: Aaron Bauman <bman@gentoo.org>
To: gentoo-announce@lists.gentoo.org
Message-ID: <7f41d732-3c92-b464-0867-1473b4c23c3f@gentoo.org>
Subject: [ GLSA 201607-17 ] BeanShell: Arbitrary code execution
--Hm25lStnPFC7Mi6SloWBUQsoslqtSfkXU
Content-Type: multipart/alternative;
boundary="------------742C8887E9E76DCDE95F9C8D"
This is a multi-part message in MIME format.
--------------742C8887E9E76DCDE95F9C8D
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 201607-17
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
https://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Severity: Normal
Title: BeanShell: Arbitrary code execution
Date: July 30, 2016
Bugs: #575482
ID: 201607-17
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Synopsis
========
BeanShell is vulnerable to the remote execution of arbitrary code via
Java serialization or XStream from an untrusted source.
Background
==========
BeanShell is a small, free, embeddable Java source interpreter with
object scripting language features, written in Java.
Affected packages
=================
-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 dev-java/bsh < 2.0_beta6 >= 2.0_beta6
Description
===========
An application that includes BeanShell on the classpath may be
vulnerable if another part of the application uses Java serialization
or XStream to deserialize data from an untrusted source.
Impact
======
Remote attackers could execute arbitrary code including shell commands.
Workaround
==========
There is no known workaround at this time.
Resolution
==========
All BeanShell users should upgrade to the latest version:
# emerge --sync
# emerge --ask --verbose --oneshot ">=dev-java/bsh-2.0_beta6"
References
==========
[ 1 ] BeanShell 2.0b6 Release Information
https://github.com/beanshell/beanshell/releases/tag/2.0b6
[ 2 ] CVE-2016-2510
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-2510
Availability
============
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
https://security.gentoo.org/glsa/201607-17
Concerns?
=========
Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users' machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
https://bugs.gentoo.org.
License
=======
Copyright 2016 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).
The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.
http://creativecommons.org/licenses/by-sa/2.5
--------------742C8887E9E76DCDE95F9C8D
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf=-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>
<meta http-equiv="content-type" content="text/html; charset=u=tf-8">
</p>
<pre style="color: rgb(0, 0, 0); font-style: normal; font-variant-l=igatures: normal; font-variant-caps: normal; font-weight: normal; letter-=spacing: normal; line-height: normal; orphans: 2; text-align: start; text=-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit=-text-stroke-width: 0px; word-wrap: break-word; white-space: pre-wrap;">-= - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 201607-17
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
<a class="moz-txt-link-freet=ext" href="https://security.gentoo.org/">https://security.gentoo.org/</=a>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Severity: Normal
Title: BeanShell: Arbitrary code execution
Date: July 30, 2016
Bugs: #575482
ID: 201607-17
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Synopsis
========
BeanShell is vulnerable to the remote execution of arbitrary code via
Java serialization or XStream from an untrusted source.
Background
==========
BeanShell is a small, free, embeddable Java source interpreter with
object scripting language features, written in Java.
Affected packages
=================
-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 dev-java/bsh < 2.0_beta6 >= 2.0_b=eta6
Description
===========
An application that includes BeanShell on the classpath may be
vulnerable if another part of the application uses Java serialization
or XStream to deserialize data from an untrusted source.
Impact
======
Remote attackers could execute arbitrary code including shell commands.
Workaround
==========
There is no known workaround at this time.
Resolution
==========
All BeanShell users should upgrade to the latest version:
# emerge --sync
# emerge --ask --verbose --oneshot ">=dev-java/bsh-2.0_beta6"
References
==========
[ 1 ] BeanShell 2.0b6 Release Information
<a class="moz-txt-link-freetext" href="https://github.com/beans=hell/beanshell/releases/tag/2.0b6">https://github.com/beanshell/beanshell=/releases/tag/2.0b6</a>
[ 2 ] CVE-2016-2510
<a class="moz-txt-link-freetext" href="https://cve.mitre.org/cg=i-bin/cvename.cgi?name=CVE-2016-2510">https://cve.mitre.org/cgi-bin/cve=name.cgi?name=CVE-2016-2510</a>
Availability
============
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
<a class="moz-txt-link-freetext" href="https://security.gentoo.org/g=lsa/201607-17">https://security.gentoo.org/glsa/201607-17</a>
Concerns?
=========
Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users' machines is of utmost
importance to us. Any security concerns should be addressed to
<a class="moz-txt-link-abbreviated" href="mailto:security@gentoo.org"=>security@gentoo.org</a> or alternatively, you may file a bug at
<a class="moz-txt-link-freetext" href="https://bugs.gentoo.org">https=://bugs.gentoo.org</a>.
License
=======
Copyright 2016 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).
The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.
<a class="moz-txt-link-freetext" href="http://creativecommons.org/lic=enses/by-sa/2.5">http://creativecommons.org/licenses/by-sa/2.5</a></pre>
</body>
</html>
--------------742C8887E9E76DCDE95F9C8D--
--Hm25lStnPFC7Mi6SloWBUQsoslqtSfkXU--
--NptruQowUgGIMjOjhBFU6ajivHjD4rA6P
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"