{
  "published": "2025-10-30T21:28:40Z",
  "modified": "2026-01-07T00:00:00Z",
  "schema_version": "1.7.5",
  "id": "CGA-j99x-mf59-7vm6",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"
    }
  ],
  "upstream": [
    "CVE-2024-21510",
    "GHSA-hxx2-7vcw-mqr3"
  ],
  "references": [
    {
      "type": "WEB",
      "url": "https://security.snyk.io/vuln/SNYK-RUBY-SINATRA-6483832"
    },
    {
      "type": "WEB",
      "url": "https://github.com/sinatra/sinatra/blob/b626e2d82c23b4fde0b51782fd32ca27ccde1d1a/lib/sinatra/base.rb%23L319"
    },
    {
      "type": "WEB",
      "url": "https://github.com/sinatra/sinatra/blob/b626e2d82c23b4fde0b51782fd32ca27ccde1d1a/lib/sinatra/base.rb%23L323C1-L343C17"
    },
    {
      "type": "FIX",
      "url": "https://github.com/sinatra/sinatra/pull/2010"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "Chainguard",
        "name": "ruby3.3-sinatra",
        "purl": "pkg:apk/chainguard/ruby3.3-sinatra?arch=x86_64"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4.1.0-r0"
            }
          ]
        }
      ],
      "ecosystem_specific": {
        "components": [
          {
            "component_name": "sinatra",
            "component_version": "4.0.0",
            "component_type": "gem",
            "component_location": "/usr/lib/ruby/gems/3.3.0/specifications/sinatra-4.0.0.gemspec",
            "component_purl": "pkg:gem/sinatra@4.0.0",
            "latest_event_status": "fixed",
            "latest_event_timestamp": "2024-11-19T08:15:20Z"
          }
        ]
      }
    },
    {
      "package": {
        "ecosystem": "Wolfi",
        "name": "ruby3.3-sinatra",
        "purl": "pkg:apk/wolfi/ruby3.3-sinatra?arch=x86_64"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4.1.0-r0"
            }
          ]
        }
      ],
      "ecosystem_specific": {
        "components": [
          {
            "component_name": "sinatra",
            "component_version": "4.0.0",
            "component_type": "gem",
            "component_location": "/usr/lib/ruby/gems/3.3.0/specifications/sinatra-4.0.0.gemspec",
            "component_purl": "pkg:gem/sinatra@4.0.0",
            "latest_event_status": "fixed",
            "latest_event_timestamp": "2024-11-19T08:15:20Z"
          }
        ]
      }
    }
  ]
}
