{
  "schema_version": "1.7.0",
  "id": "MGASA-2022-0280",
  "published": "2022-08-13T02:32:35Z",
  "modified": "2022-08-13T01:07:15Z",
  "summary": "Updated ruby-sinatra packages fix security vulnerability",
  "details": "Sinatra before 2.2.0 does not validate that the expanded path matches\npublic_dir when serving static files. (CVE-2022-29970)\n",
  "upstream": [
    "CVE-2022-29970"
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://advisories.mageia.org/MGASA-2022-0280.html"
    },
    {
      "type": "REPORT",
      "url": "https://bugs.mageia.org/show_bug.cgi?id=30542"
    },
    {
      "type": "WEB",
      "url": "https://lists.suse.com/pipermail/sle-security-updates/2022-June/011265.html"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "Mageia:8",
        "name": "ruby-sinatra",
        "purl": "pkg:rpm/mageia/ruby-sinatra?arch=source&distro=mageia-8"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.0.8.1-1.1.mga8"
            }
          ]
        }
      ],
      "ecosystem_specific": {
        "section": "core"
      }
    }
  ],
  "credits": [
    {
      "name": "Mageia",
      "type": "COORDINATOR",
      "contact": [
        "https://wiki.mageia.org/en/Packages_Security_Team"
      ]
    }
  ]
}
