GLSA 201607-17: BeanShell: Arbitrary code execution
Severity: | normal |
Title: | BeanShell: Arbitrary code execution |
Date: | 07/30/2016 |
Bugs: |
|
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 | Architecture(s) |
---|---|---|---|
dev-java/bsh | < 2.0_beta6 | >= 2.0_beta6 | All supported architectures |
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
Availability
This GLSA and any updates to it are available for viewing at the Gentoo Security Website:
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 2010 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.