CVE-2012-4540
Off-by-one error in the invoke function in IcedTeaScriptablePluginObject.cc in IcedTea-Web 1.1.x before 1.1.7, 1.2.x before 1.2.2, 1.3.x…
Check your servers for CVE-2012-4540
The Vulnpocalypse agent sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2012-4540 affects a package, with the command that installs the fix. The free plan covers one server and does not need a credit card.
Description
Off-by-one error in the invoke function in IcedTeaScriptablePluginObject.cc in IcedTea-Web 1.1.x before 1.1.7, 1.2.x before 1.2.2, 1.3.x before 1.3.1, and 1.4.x before 1.4.1 allows remote attackers to obtain sensitive information, cause a denial of service (crash), or possibly execute arbitrary code via a crafted webpage that triggers a heap-based buffer overflow, related to an error message and a "triggering event attached to applet." NOTE: the 1.4.x versions were originally associated with CVE-2013-4349, but that entry has been MERGED with this one.
Exploitation
EPSS 3.44%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 89.7% of all scored CVEs. Scores of 27 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2012-4540 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2012-4540RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2012-4540Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2012-4540
trivy image --scanners vuln IMAGE | grep CVE-2012-4540
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server or read how to install the agent.
References
Advisories
- GLSA-201406-32 security.gentoo.org · vendor advisory
- http://icedtea.classpath.org/hg/release/icedtea-web-1.1/file/d759ec560073/NEWS icedtea.classpath.org
- DSA-2768 debian.org · vendor advisory
- openSUSE-SU-2015:1595 lists.opensuse.org · vendor advisory
- http://icedtea.classpath.org/hg/release/icedtea-web-1.2/rev/596a718be03f icedtea.classpath.org
- RHSA-2012:1434 rhn.redhat.com · vendor advisory
- 51220 secunia.com · third party advisory
- openSUSE-SU-2013:1511 lists.opensuse.org · vendor advisory
- 51374 secunia.com · third party advisory
- USN-1625-1 ubuntu.com · vendor advisory
- openSUSE-SU-2013:1509 lists.opensuse.org · vendor advisory
- 51206 secunia.com · third party advisory
5 more
- openSUSE-SU-2012:1524 lists.opensuse.org · vendor advisory
- MDVSA-2012:171 mandriva.com · vendor advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1007960 bugzilla.redhat.com
- http://icedtea.classpath.org/hg/release/icedtea-web-1.3/rev/e7970f3da5fe icedtea.classpath.org
- openSUSE-SU-2013:0174 lists.opensuse.org · vendor advisory
Other references
- 56434 securityfocus.com · vdb entry
- [distro-pkg-dev] 20121107 IcedTea-Web 1.1.7, 1.2.2 and 1.3.1 [security releases] released! mail.openjdk.java.net · mailing list
- icedtea-applet-bo(79894) exchange.xforce.ibmcloud.com · vdb entry
- 1027738 securitytracker.com · vdb entry
- https://bugzilla.redhat.com/show_bug.cgi?id=869040 bugzilla.redhat.com
- [distro-pkg-dev] 20130919 IcedTea-Web 1.4.1 released! mail.openjdk.java.net · mailing list
- 62426 securityfocus.com · vdb entry
- [oss-security] 20121107 IcedTea-Web CVE-2012-4540 openwall.com · mailing list
Source: the record CVE-2012-4540 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse