CVE-2007-5240
Visual truncation vulnerability in the Java Runtime Environment in Sun JDK and JRE 6 Update 2 and earlier, JDK and JRE 5.0 Update 12 and…
Check your servers for CVE-2007-5240
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2007-5240 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
Visual truncation vulnerability in the Java Runtime Environment in Sun JDK and JRE 6 Update 2 and earlier, JDK and JRE 5.0 Update 12 and earlier, SDK and JRE 1.4.2_15 and earlier, and SDK and JRE 1.3.1_20 and earlier allows remote attackers to circumvent display of the untrusted-code warning banner by creating a window larger than the workstation screen.
Exploitation
EPSS 2.96%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 87.9% of all scored CVEs. Scores of 28 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-2007-5240 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2007-5240RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2007-5240Alpine
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-2007-5240
trivy image --scanners vuln IMAGE | grep CVE-2007-5240
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 and one domain or read how to install the collector.
References
Advisories
- RHSA-2008:0132 redhat.com · vendor advisory
- RHSA-2007:1041 redhat.com · vendor advisory
- 30676 secunia.com · third party advisory
- 29042 secunia.com · third party advisory
- 27693 secunia.com · third party advisory
- http://support.novell.com/techcenter/psdb/0c36b6416afc3868b8b1b9012955e323.html support.novell.com
- SUSE-SA:2007:055 novell.com · vendor advisory
- 31586 secunia.com · third party advisory
- http://download.novell.com/Download?buildid=q5exhSqeBjA~ download.novell.com
- 29897 secunia.com · third party advisory
- 27206 secunia.com · third party advisory
- 27804 secunia.com · third party advisory
21 more
- GLSA-200804-28 security.gentoo.org · vendor advisory
- HPSBUX02284 h20000.www2.hp.com · vendor advisory
- 29858 secunia.com · third party advisory
- RHSA-2007:0963 redhat.com · vendor advisory
- RHSA-2008:0100 redhat.com · vendor advisory
- SUSE-SA:2008:025 lists.opensuse.org · vendor advisory
- 27261 secunia.com · third party advisory
- 28777 secunia.com · third party advisory
- 103071 sunsolve.sun.com · vendor advisory
- RHSA-2008:0156 redhat.com · vendor advisory
- BEA08-198.00 dev2dev.bea.com · vendor advisory
- http://support.novell.com/docs/Readmes/InfoDocument/patchbuilder/readme_5033642.html support.novell.com
- 30780 secunia.com · third party advisory
- 28880 secunia.com · third party advisory
- 27716 secunia.com · third party advisory
- http://www.vmware.com/security/advisories/VMSA-2008-0010.html vmware.com
- 29214 secunia.com · third party advisory
- 29340 secunia.com · third party advisory
- GLSA-200804-20 gentoo.org · vendor advisory
- GLSA-200806-11 gentoo.org · vendor advisory
- 31580 secunia.com · third party advisory
Other references
- ADV-2007-3895 vupen.com · vdb entry
- sun-javawarning-weak-security(36942) exchange.xforce.ibmcloud.com · vdb entry
- 1018769 securitytracker.com · vdb entry
- 25918 securityfocus.com · vdb entry
- ADV-2008-0609 vupen.com · vdb entry
- oval:org.mitre.oval:def:10783 oval.cisecurity.org · vdb entry, signature
- 20071029 FLEA-2007-0061-1 sun-jre sun-jdk securityfocus.com · mailing list
- ADV-2008-1856 vupen.com · vdb entry
Source: the record CVE-2007-5240 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