cve.bz

CVE-2023-2798 htmlunit htmlunit: Out-of-bounds Write

7.5 highEPSS 0.9%Fix available

High (7.5) in htmlunit htmlunit. EPSS 0.9% estimated probability of exploitation activity in the next 30 days. Fixed in org.htmlunit:htmlunit 2.70.0.

On this page
Those using HtmlUnit to browse untrusted webpages may be vulnerable to Denial of service attacks (DoS). If HtmlUnit is running on user supplied web pages, an attacker may supply content that causes HtmlUnit to crash by a stack overflow. This effect may support a denial of service attack.This issue affects htmlunit before 2.70.0.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.9% (unchanged from 0.9% a week ago; 0.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 61st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-787 Out-of-bounds Write
CWE-400 Uncontrolled Resource Consumption
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-2798 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-2798?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-2798?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-2798 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
htmlunit:htmlunitbefore 2.70.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-rc44-5cmh-879mMavenorg.htmlunit:htmlunit<2.70.02.70.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTSjenkins-htmlunit-core-jsno fix listedUBUNTU-CVE-2023-2798
UbuntuPro:16.04:LTS, Pro:18.04:LTShtmlunitno fix listedUBUNTU-CVE-2023-2798

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Migration Toolkit for Runtimes 1 on RHEL 8com.google.guava-guava-parentFixed 2023-06-27RHSA-2023:3814
MTA-6.2-RHEL-9mta/mta-operator-bundle:6.2.0-29Fixed 2023-08-14RHSA-2023:4627
Migration Toolkit for Applications 6org.jboss.windup-windup-parentAffected
Migration Toolkit for Runtimesorg.jboss.windup-windup-parentNot affected
Red Hat Data Grid 8htmlUnitNot affected
Red Hat Decision Manager 7htmlUnitOut of support scope
Red Hat Fuse 7htmlUnitOut of support scope
Red Hat Integration Camel K 1htmlUnitNot affected
Red Hat Integration Camel Quarkus 2htmlUnitNot affected
Red Hat JBoss Data Grid 7htmlUnitOut of support scope
Red Hat JBoss Enterprise Application Platform 6htmlUnitOut of support scope
Red Hat JBoss Enterprise Application Platform 7htmlUnitNot affected
Red Hat JBoss Enterprise Application Platform 8htmlUnitNot affected
Red Hat JBoss Enterprise Application Platform Expansion PackhtmlUnitNot affected
Red Hat JBoss Fuse 6htmlUnitOut of support scope
Red Hat JBoss Fuse Service Works 6htmlunitOut of support scope
Red Hat JBoss Fuse Service Works 6htmlUnitOut of support scope
Red Hat OpenShift Application RuntimeshtmlUnitNot affected
Red Hat Process Automation 7htmlUnitOut of support scope
Red Hat Single Sign-On 7htmlUnitNot affected
1 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-2798.

Attack patterns (CAPEC)

  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement
  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON