CVE-2023-36307: Simonwaldherr.de/go/zplgfa Index Out Of Bounds Leading Vulnerability

MODERATE
Advisory Identifier: GHSA-xgmm-3vvr-6c8j
CVSS 5.5
CWE-129
Published
Advisory Summary

CVE-2023-36307 is a MODERATE (CVSS 5.5) index out of bounds leading vulnerability (CWE-129: Improper Validation of Array Index) affecting Simonwaldherr.de/go/zplgfa libraries in the Go ecosystem. The issue involves index out of bounds leading to crash. Remediation is available in the latest vendor maintenance releases.

CVE-2023-36307 at a Glance

CVE Identifier CVE-2023-36307
GHSA Identifier GHSA-xgmm-3vvr-6c8j
Severity MODERATE
CVSS v3.1 Base Score 5.5
CWE Classification CWE-129: Improper Validation of Array Index
Affected Product Simonwaldherr.de/go/zplgfa
Package Ecosystem Go
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:N/A:H).

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 None (I:N)
Availability High (A:H)

How to Fix CVE-2023-36307

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

simonwaldherr.de/go/zplgfa fixed: Latest secure release
Upgrade simonwaldherr.de/go/zplgfa to Latest secure release
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 simonwaldherr.de/go/zplgfa

How to Check if You Are Affected

To determine whether your application is affected by CVE-2023-36307, inspect your project dependencies for Simonwaldherr.de/go/zplgfa:

inspect dependencies for simonwaldherr.de/go/zplgfa

Analyze the terminal output to locate any version of Simonwaldherr.de/go/zplgfa 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: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-129: Improper Validation of Array Index, where the product uses untrusted input when calculating or using an array index, but the product does not validate or incorrectly validates the index to ensure the index references a valid position within the array. In Simonwaldherr.de/go/zplgfa, 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

ZPLGFA 1.1.1 allows attackers to cause a panic (because of an integer index out of range during a ConvertToGraphicField call) via an image of zero width. NOTE: it is unclear whether there are common use cases in which this panic could have any security consequence

CVE-2023-36307 Affected Simonwaldherr.de/go/zplgfa Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
simonwaldherr.de/go/zplgfa
Go
≤ 1.1.1

References

Frequently Asked Questions

What is CVE-2023-36307?
CVE-2023-36307 is a security vulnerability in Simonwaldherr.de/go/zplgfa involving Index out of bounds leading to crash under CWE-129: Improper Validation of Array Index.
Which Simonwaldherr.de/go/zplgfa versions are affected?
Affected versions include releases prior to current release patches across affected packages: simonwaldherr.de/go/zplgfa.
What version fixes CVE-2023-36307?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is simonwaldherr.de/go/zplgfa affected?
Yes, simonwaldherr.de/go/zplgfa 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-36307?
CVE-2023-36307 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:N/A:H.
What CWE is associated with CVE-2023-36307?
CVE-2023-36307 is classified under CWE-129: Improper Validation of Array Index (The product uses untrusted input when calculating or using an array index, but the product does not validate or incorrectly validates the index to ensure the index references a valid position within the array.).
How can I check Go dependencies for CVE-2023-36307?
Run the dependency tree command: 'inspect dependencies for simonwaldherr.de/go/zplgfa'. 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-xgmm-3vvr-6c8j",
  "modified" : "2024-03-21T18:58:11Z",
  "published" : "2023-09-05T06:30:14Z",
  "aliases" : [ "CVE-2023-36307" ],
  "summary" : "Index out of bounds leading to crash",
  "details" : "ZPLGFA 1.1.1 allows attackers to cause a panic (because of an integer index out of range during a ConvertToGraphicField call) via an image of zero width. NOTE: it is unclear whether there are common use cases in which this panic could have any security consequence",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "simonwaldherr.de/go/zplgfa"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "1.1.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-36307"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/SimonWaldherr/zplgfa/pull/6"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/SimonWaldherr/zplgfa/commit/c0d018ffa921cd2460b80f766b7969fbe63678fc"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/SimonWaldherr/zplgfa"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-129" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-03-21T18:58:11Z",
    "nvd_published_at" : "2023-09-05T05:15:07Z"
  }
}