portage-ng / portage / dev-java / bsh / 2.1.1-r2
portage-ng glsa
1 advisory reference dev-java/bsh · none place version 2.1.1-r2 in a vulnerable range
▸ GLSA 201607-17 BeanShell: Arbitrary code execution this version unaffected normal remote 2016-07-30

BeanShell is vulnerable to the remote execution of arbitrary code via Java serialization or XStream from an untrusted source.

Announced
2016-07-30
Revised
2016-07-30
Access
remote
Bugs
#575482
Advisory
https://security.gentoo.org/glsa/201607-17

Affected packages

PackageArchVulnerableUnaffected
dev-java/bsh*< 2.0_beta6>= 2.0_beta6

Background

BeanShell is a small, free, embeddable Java source interpreter with object scripting language features, written in Java.

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