Gentoo Linux Security Advisory 201607-17 - BeanShell is vulnerable to the remote execution of arbitrary code via Java serialization or XStream from an untrusted source. Versions less than 2.0_beta6 are affected.
8cbd5347c9492cda9ad7577fe18ec401eb4bdf1aa72804764fc84bce3743dad1
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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