Vulnerabilities in pkg:maven/io.hawt/project

PACKAGE
Advisory Identifier: GHSA-p223-c4w6-q454
Advisory Summary

CVE-2023-33544 is a MODERATE (CVSS 5.5) path traversal vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting Project libraries in the Maven ecosystem. The issue involves hawtio vulnerable to path traversal. Remediation is available in the latest vendor maintenance releases.

4 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/io.hawt/project

4 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/io.hawt/project. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-p223-c4w6-q454 CVE-2023-33544 MODERATE hawtio vulnerable to Path Traversal
GHSA-m4j5-hgqq-5jf2 CVE-2017-2589 CRITICAL Insecure cookie sharing in Hawtio
GHSA-9g8w-pjpr-prr4 CVE-2017-2594 HIGH Path Traversal in io.hawt:project
GHSA-q4q2-fvwf-6ghv CVE-2017-7556 HIGH Cross-Site Request Forgery in hawtio

CVE-2023-33544 at a Glance

CVE Identifier CVE-2023-33544
GHSA Identifier GHSA-p223-c4w6-q454
Severity MODERATE
CVSS v3.1 Base Score 5.5
CWE Classification CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected Product Project
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 5.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N).

Attack Vector Local (AV:L)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2023-33544

To remediate this vulnerability, upgrade all affected Project dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

io.hawt:project fixed: Latest secure release
<dependency>
    <groupId>io.hawt</groupId>
    <artifactId>project</artifactId>
    <version>Latest secure release</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=io.hawt

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2023-33544, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=io.hawt

Analyze the terminal output to locate any version of Project in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: The mvn dependency:tree -Dincludes=io.hawt command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), where the product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. In Project, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

hawtio 2.17.2 is vulnerable to Path Traversal. it is possible to input malicious zip files, which can result in the high-risk files after decompression being stored in any location, even leading to file overwrite.

CVE-2023-33544 Affected Project Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
io.hawt:project
Maven
≤ 2.17.2

References

Frequently Asked Questions

What is CVE-2023-33544?
CVE-2023-33544 is a security vulnerability in Project involving hawtio vulnerable to Path Traversal under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal').
Which Project versions are affected?
Affected versions include releases prior to current release patches across affected packages: io.hawt:project.
What version fixes CVE-2023-33544?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is project affected?
Yes, io.hawt:project is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2023-33544?
CVE-2023-33544 has a CVSS v3.1 base score of 5.5 (MODERATE) with vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N.
What CWE is associated with CVE-2023-33544?
CVE-2023-33544 is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.).
How can I check Maven dependencies for CVE-2023-33544?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=io.hawt'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-p223-c4w6-q454",
  "modified" : "2023-06-08T14:02:02Z",
  "published" : "2023-06-01T15:30:59Z",
  "aliases" : [ "CVE-2023-33544" ],
  "summary" : "hawtio vulnerable to Path Traversal",
  "details" : "hawtio 2.17.2 is vulnerable to Path Traversal. it is possible to input malicious zip files, which can result in the high-risk files after decompression being stored in any location, even leading to file overwrite.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "io.hawt:project"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "2.17.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-33544"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/hawtio/hawtio/issues/2832"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/hawtio/hawtio"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-22" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-06-06T02:03:57Z",
    "nvd_published_at" : "2023-06-01T13:15:10Z"
  }
}