CVE-2023-29931: Hhxsv5/laravel s Laravel-s Vulnerable To Local File Vulnerability

CRITICAL
Advisory Identifier: GHSA-q2fp-jw87-86px
CVSS 9.8
CWE-552
Published
Advisory Summary

CVE-2023-29931 is a CRITICAL (CVSS 9.8) laravel-s vulnerable to local file vulnerability (CWE-552: Files or Directories Accessible to External Parties) affecting Hhxsv5/laravel s libraries in the Packagist ecosystem. The issue involves laravel-s vulnerable to local file inclusion. Remediation is available by upgrading affected packages to version 3.7.36.

CVE-2023-29931 at a Glance

CVE Identifier CVE-2023-29931
GHSA Identifier GHSA-q2fp-jw87-86px
Severity CRITICAL
CVSS v3.1 Base Score 9.8
CWE Classification CWE-552: Files or Directories Accessible to External Parties
Affected Product Hhxsv5/laravel s
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 9.8

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

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

How to Fix CVE-2023-29931

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

hhxsv5/laravel-s fixed: 3.7.36
Upgrade hhxsv5/laravel-s to 3.7.36
Verify Direct and Transitive Dependencies

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

inspect dependencies for hhxsv5/laravel-s

How to Check if You Are Affected

To determine whether your application is affected by CVE-2023-29931, inspect your project dependencies for Hhxsv5/laravel s:

inspect dependencies for hhxsv5/laravel-s

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

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-552: Files or Directories Accessible to External Parties, where the product makes files or directories accessible to unauthorized actors, even though they should not be. In Hhxsv5/laravel s, 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

laravel-s prior to 3.7.36 is vulnerable to Local File Inclusion via `/src/Illuminate/Laravel.php`.

CVE-2023-29931 Affected Hhxsv5/laravel s Versions

1 component(s)
Fixed Versions:
3.7.36
Product / Package Ecosystem Affected Versions Fixed Version
hhxsv5/laravel-s
Packagist
< 3.7.36
3.7.36

References

Frequently Asked Questions

What is CVE-2023-29931?
CVE-2023-29931 is a security vulnerability in Hhxsv5/laravel s involving laravel-s vulnerable to Local File Inclusion under CWE-552: Files or Directories Accessible to External Parties.
Which Hhxsv5/laravel s versions are affected?
Affected versions include releases prior to 3.7.36 across affected packages: hhxsv5/laravel-s.
What version fixes CVE-2023-29931?
Upgrading to 3.7.36 (or the latest patched release for your respective branch) resolves the vulnerability.
Is hhxsv5/laravel-s affected?
Yes, hhxsv5/laravel-s is affected in releases prior to 3.7.36. Upgrade your dependency to 3.7.36 or later.
What is the CVSS score of CVE-2023-29931?
CVE-2023-29931 has a CVSS v3.1 base score of 9.8 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2023-29931?
CVE-2023-29931 is classified under CWE-552: Files or Directories Accessible to External Parties (The product makes files or directories accessible to unauthorized actors, even though they should not be.).
How can I check Packagist dependencies for CVE-2023-29931?
Run the dependency tree command: 'inspect dependencies for hhxsv5/laravel-s'. 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-q2fp-jw87-86px",
  "modified" : "2023-06-30T20:18:57Z",
  "published" : "2023-06-22T12:30:14Z",
  "aliases" : [ "CVE-2023-29931" ],
  "summary" : "laravel-s vulnerable to Local File Inclusion",
  "details" : "laravel-s prior to 3.7.36 is vulnerable to Local File Inclusion via `/src/Illuminate/Laravel.php`.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "hhxsv5/laravel-s"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.7.36"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-29931"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/hhxsv5/laravel-s/issues/437"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/hhxsv5/laravel-s/commit/05aa615527725f0b696da78ae4c7d3a5065bac6d"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/hhxsv5/laravel-s"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-552" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-06-22T20:00:46Z",
    "nvd_published_at" : "2023-06-22T11:15:09Z"
  }
}