CVE-2024-3661: Software Security Vulnerability Vulnerability

HIGH
Advisory Identifier: GHSA-jcv7-6v4q-4m7x
CVSS 8.8
CWE-306
Published
Advisory Summary

CVE-2024-3661 is a HIGH (CVSS 8.8) security vulnerability vulnerability (CWE-306: Missing Authentication for Critical Function) affecting Software libraries in the Maven ecosystem. The weakness occurs when the product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources.. Remediation is available in the latest vendor maintenance releases.

CVE-2024-3661 at a Glance

CVE Identifier CVE-2024-3661
GHSA Identifier GHSA-jcv7-6v4q-4m7x
Severity HIGH
CVSS v3.1 Base Score 8.8
CWE Classification CWE-306: Missing Authentication for Critical Function
Affected Product Software
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 8.8

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

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

How to Fix CVE-2024-3661

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

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

How to Check if You Are Affected

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

mvn dependency:tree

Analyze the terminal output to locate any version of Software 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 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-306: Missing Authentication for Critical Function, where the product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources. In Software, 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

By design, the DHCP protocol does not authenticate messages, including for example the classless static route option (121). An attacker with the ability to send DHCP messages can manipulate routes to redirect VPN traffic, allowing the attacker to read, disrupt, or possibly modify network traffic that was expected to be protected by the VPN. Many, if not most VPN systems based on IP routing are susceptible to such attacks.

References

NVD — CVE-2024-3661 NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-3661
Software Security Information SECURITY
https://www.zscaler.com/blogs/security-research/cve-2024-3661-k-tunnelvision-exposes-vpn-bypass-vulnerability
www.watchguard.com/wgrd-psirt/advisory... WEB
https://www.watchguard.com/wgrd-psirt/advisory/wgsa-2024-00009
www.theregister.com/2024/05/07/vpn_tunn... WEB
https://www.theregister.com/2024/05/07/vpn_tunnelvision_dhcp
Software Security Information SECURITY
https://www.leviathansecurity.com/research/tunnelvision
Software Security Information SECURITY
https://www.leviathansecurity.com/blog/tunnelvision
www.agwa.name/blog/post/hardening... WEB
https://www.agwa.name/blog/post/hardening_openvpn_for_def_con
tunnelvisionbug.com WEB
https://tunnelvisionbug.com
Software Security Information SECURITY
https://support.citrix.com/article/CTX677069/cloud-software-group-security-advisory-for-cve20243661
Software Security Information SECURITY
https://security.paloaltonetworks.com/CVE-2024-3661
news.ycombinator.com/item WEB
https://news.ycombinator.com/item?id=40284111
news.ycombinator.com/item WEB
https://news.ycombinator.com/item?id=40279632
my.f5.com/manage/s/article/k0... WEB
https://my.f5.com/manage/s/article/K000139553
mullvad.net/en/blog/evaluating-... WEB
https://mullvad.net/en/blog/evaluating-the-impact-of-tunnelvision
lowendtalk.com/discussion/188857/a... WEB
https://lowendtalk.com/discussion/188857/a-rogue-dhcp-server-within-your-network-can-and-will-hijack-your-vpn-traffic
Software Security Information SECURITY
https://krebsonsecurity.com/2024/05/why-your-vpn-may-not-be-as-secure-as-it-claims
issuetracker.google.com/issues/263721377 WEB
https://issuetracker.google.com/issues/263721377
fortiguard.fortinet.com/psirt/fg-ir-24-170 WEB
https://fortiguard.fortinet.com/psirt/FG-IR-24-170
datatracker.ietf.org/doc/html/rfc3442 WEB
https://datatracker.ietf.org/doc/html/rfc3442#section-7
datatracker.ietf.org/doc/html/rfc2131 WEB
https://datatracker.ietf.org/doc/html/rfc2131#section-7
bst.cisco.com/quickview/bug/cscwk... WEB
https://bst.cisco.com/quickview/bug/CSCwk05814
Software Security Information SECURITY
https://arstechnica.com/security/2024/05/novel-attack-against-virtually-all-vpn-apps-neuters-their-entire-purpose

Frequently Asked Questions

What is CVE-2024-3661?
CVE-2024-3661 is a security vulnerability in Software classified as a security vulnerability vulnerability under CWE-306: Missing Authentication for Critical Function.
Which Software versions are affected?
Affected versions include releases prior to current release patches.
What version fixes CVE-2024-3661?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What is the CVSS score of CVE-2024-3661?
CVE-2024-3661 has a CVSS v3.1 base score of 8.8 (HIGH) with vector string CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:L.
What CWE is associated with CVE-2024-3661?
CVE-2024-3661 is classified under CWE-306: Missing Authentication for Critical Function (The product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources.).
How can I check Maven dependencies for CVE-2024-3661?
Run the dependency tree command: 'mvn dependency:tree'. 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-jcv7-6v4q-4m7x",
  "modified" : "2024-07-01T15:31:59Z",
  "published" : "2024-05-06T21:30:38Z",
  "aliases" : [ "CVE-2024-3661" ],
  "details" : "By design, the DHCP protocol does not authenticate messages, including for example the classless static route option (121). An attacker with the ability to send DHCP messages can manipulate routes to redirect VPN traffic, allowing the attacker to read, disrupt, or possibly modify network traffic that was expected to be protected by the VPN. Many, if not most VPN systems based on IP routing are susceptible to such attacks.\n",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:L"
  } ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-3661"
  }, {
    "type" : "WEB",
    "url" : "https://www.zscaler.com/blogs/security-research/cve-2024-3661-k-tunnelvision-exposes-vpn-bypass-vulnerability"
  }, {
    "type" : "WEB",
    "url" : "https://www.watchguard.com/wgrd-psirt/advisory/wgsa-2024-00009"
  }, {
    "type" : "WEB",
    "url" : "https://www.theregister.com/2024/05/07/vpn_tunnelvision_dhcp"
  }, {
    "type" : "WEB",
    "url" : "https://www.leviathansecurity.com/research/tunnelvision"
  }, {
    "type" : "WEB",
    "url" : "https://www.leviathansecurity.com/blog/tunnelvision"
  }, {
    "type" : "WEB",
    "url" : "https://www.agwa.name/blog/post/hardening_openvpn_for_def_con"
  }, {
    "type" : "WEB",
    "url" : "https://tunnelvisionbug.com"
  }, {
    "type" : "WEB",
    "url" : "https://support.citrix.com/article/CTX677069/cloud-software-group-security-advisory-for-cve20243661"
  }, {
    "type" : "WEB",
    "url" : "https://security.paloaltonetworks.com/CVE-2024-3661"
  }, {
    "type" : "WEB",
    "url" : "https://news.ycombinator.com/item?id=40284111"
  }, {
    "type" : "WEB",
    "url" : "https://news.ycombinator.com/item?id=40279632"
  }, {
    "type" : "WEB",
    "url" : "https://my.f5.com/manage/s/article/K000139553"
  }, {
    "type" : "WEB",
    "url" : "https://mullvad.net/en/blog/evaluating-the-impact-of-tunnelvision"
  }, {
    "type" : "WEB",
    "url" : "https://lowendtalk.com/discussion/188857/a-rogue-dhcp-server-within-your-network-can-and-will-hijack-your-vpn-traffic"
  }, {
    "type" : "WEB",
    "url" : "https://krebsonsecurity.com/2024/05/why-your-vpn-may-not-be-as-secure-as-it-claims"
  }, {
    "type" : "WEB",
    "url" : "https://issuetracker.google.com/issues/263721377"
  }, {
    "type" : "WEB",
    "url" : "https://fortiguard.fortinet.com/psirt/FG-IR-24-170"
  }, {
    "type" : "WEB",
    "url" : "https://datatracker.ietf.org/doc/html/rfc3442#section-7"
  }, {
    "type" : "WEB",
    "url" : "https://datatracker.ietf.org/doc/html/rfc2131#section-7"
  }, {
    "type" : "WEB",
    "url" : "https://bst.cisco.com/quickview/bug/CSCwk05814"
  }, {
    "type" : "WEB",
    "url" : "https://arstechnica.com/security/2024/05/novel-attack-against-virtually-all-vpn-apps-neuters-their-entire-purpose"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-306" ],
    "severity" : "HIGH",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2024-05-06T19:15:11Z"
  }
}