CVE-2022-2714: Francoisjacquet/rosariosis RosarioSIS Before 10.1 Vulnerable To Vulnerability

HIGH
Advisory Identifier: GHSA-vh4m-mw8w-g4w8
CVSS 8.1
CWE-130
Published
Advisory Summary

CVE-2022-2714 is a HIGH (CVSS 8.1) rosariosis before 10.1 vulnerable to vulnerability (CWE-130: Improper Handling of Length Parameter Inconsistency) affecting Francoisjacquet/rosariosis libraries in the Packagist ecosystem. The issue involves rosariosis before 10.1 vulnerable to improper handling of length parameter inconsistency. Remediation is available by upgrading affected packages to version 10.1.

CVE-2022-2714 at a Glance

CVE Identifier CVE-2022-2714
GHSA Identifier GHSA-vh4m-mw8w-g4w8
Severity HIGH
CVSS v3.1 Base Score 8.1
CWE Classification CWE-130: Improper Handling of Length Parameter Inconsistency
Affected Product Francoisjacquet/rosariosis
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 8.1

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

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

How to Fix CVE-2022-2714

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

francoisjacquet/rosariosis fixed: 10.1
Upgrade francoisjacquet/rosariosis to 10.1
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 francoisjacquet/rosariosis

How to Check if You Are Affected

To determine whether your application is affected by CVE-2022-2714, inspect your project dependencies for Francoisjacquet/rosariosis:

inspect dependencies for francoisjacquet/rosariosis

Analyze the terminal output to locate any version of Francoisjacquet/rosariosis in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 10.1), 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-130: Improper Handling of Length Parameter Inconsistency, where the product parses a formatted message or structure, but it does not handle or incorrectly handles a length field that is inconsistent with the actual length of the associated data. In Francoisjacquet/rosariosis, 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

RosarioSIS Student Information System prior to version 10.1 is vulnerable to Improper Handling of Length Parameter Inconsistency.

CVE-2022-2714 Affected Francoisjacquet/rosariosis Versions

1 component(s)
Fixed Versions:
10.1
Product / Package Ecosystem Affected Versions Fixed Version
francoisjacquet/rosariosis
Packagist
< 10.1
10.1

References

Frequently Asked Questions

What is CVE-2022-2714?
CVE-2022-2714 is a security vulnerability in Francoisjacquet/rosariosis involving RosarioSIS before 10.1 vulnerable to Improper Handling of Length Parameter Inconsistency under CWE-130: Improper Handling of Length Parameter Inconsistency.
Which Francoisjacquet/rosariosis versions are affected?
Affected versions include releases prior to 10.1 across affected packages: francoisjacquet/rosariosis.
What version fixes CVE-2022-2714?
Upgrading to 10.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is francoisjacquet/rosariosis affected?
Yes, francoisjacquet/rosariosis is affected in releases prior to 10.1. Upgrade your dependency to 10.1 or later.
What is the CVSS score of CVE-2022-2714?
CVE-2022-2714 has a CVSS v3.1 base score of 8.1 (HIGH) with vector string CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H.
What CWE is associated with CVE-2022-2714?
CVE-2022-2714 is classified under CWE-130: Improper Handling of Length Parameter Inconsistency (The product parses a formatted message or structure, but it does not handle or incorrectly handles a length field that is inconsistent with the actual length of the associated data.).
How can I check Packagist dependencies for CVE-2022-2714?
Run the dependency tree command: 'inspect dependencies for francoisjacquet/rosariosis'. 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-vh4m-mw8w-g4w8",
  "modified" : "2022-09-15T03:20:14Z",
  "published" : "2022-09-07T00:01:54Z",
  "aliases" : [ "CVE-2022-2714" ],
  "summary" : "RosarioSIS before 10.1 vulnerable to Improper Handling of Length Parameter Inconsistency",
  "details" : "RosarioSIS Student Information System prior to version 10.1 is vulnerable to Improper Handling of Length Parameter Inconsistency.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "francoisjacquet/rosariosis"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "10.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-2714"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/francoisjacquet/rosariosis/commit/4022954c3f41462bf6225c302a28b0429f6f4df3"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/francoisjacquet/rosariosis"
  }, {
    "type" : "WEB",
    "url" : "https://huntr.dev/bounties/430aedac-c7d9-4acb-9bab-bcc0595d9e95"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-130" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-09-15T03:20:14Z",
    "nvd_published_at" : "2022-09-06T11:15:00Z"
  }
}