fkie_cve-2024-12217
Vulnerability from fkie_nvd
Published
2025-03-20 10:15
Modified
2025-03-20 16:15
Summary
A vulnerability in the gradio-app/gradio repository, version git 67e4044, allows for path traversal on Windows OS. The implementation of the blocked_path functionality, which is intended to disallow users from reading certain files, is flawed. Specifically, while the application correctly blocks access to paths like 'C:/tmp/secret.txt', it fails to block access when using NTFS Alternate Data Streams (ADS) syntax, such as 'C:/tmp/secret.txt::$DATA'. This flaw can lead to unauthorized reading of blocked file paths.
Impacted products
Vendor Product Version



{
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "A vulnerability in the gradio-app/gradio repository, version git 67e4044, allows for path traversal on Windows OS. The implementation of the blocked_path functionality, which is intended to disallow users from reading certain files, is flawed. Specifically, while the application correctly blocks access to paths like \u0027C:/tmp/secret.txt\u0027, it fails to block access when using NTFS Alternate Data Streams (ADS) syntax, such as \u0027C:/tmp/secret.txt::$DATA\u0027. This flaw can lead to unauthorized reading of blocked file paths."
    },
    {
      "lang": "es",
      "value": "Una vulnerabilidad en el repositorio gradio-app/gradio, versi\u00f3n git 67e4044, permite path traversal en el sistema operativo Windows. La implementaci\u00f3n de la funci\u00f3n \"blocked_path\", cuyo objetivo es impedir que los usuarios lean ciertos archivos, es defectuoso. En concreto, si bien la aplicaci\u00f3n bloquea correctamente el acceso a rutas como \"C:/tmp/secret.txt\", no lo bloquea al usar la sintaxis de flujos de datos alternativos (ADS) de NTFS, como \"C:/tmp/secret.txt::$DATA\". Este fallo puede provocar la lectura no autorizada de rutas de archivos bloqueadas."
    }
  ],
  "id": "CVE-2024-12217",
  "lastModified": "2025-03-20T16:15:13.620",
  "metrics": {
    "cvssMetricV30": [
      {
        "cvssData": {
          "attackComplexity": "LOW",
          "attackVector": "NETWORK",
          "availabilityImpact": "NONE",
          "baseScore": 5.3,
          "baseSeverity": "MEDIUM",
          "confidentialityImpact": "LOW",
          "integrityImpact": "NONE",
          "privilegesRequired": "NONE",
          "scope": "UNCHANGED",
          "userInteraction": "NONE",
          "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N",
          "version": "3.0"
        },
        "exploitabilityScore": 3.9,
        "impactScore": 1.4,
        "source": "security@huntr.dev",
        "type": "Secondary"
      }
    ]
  },
  "published": "2025-03-20T10:15:27.560",
  "references": [
    {
      "source": "security@huntr.dev",
      "url": "https://huntr.com/bounties/0439bf3d-cb38-43a5-8314-0fadf85cc5a0"
    },
    {
      "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
      "url": "https://huntr.com/bounties/0439bf3d-cb38-43a5-8314-0fadf85cc5a0"
    }
  ],
  "sourceIdentifier": "security@huntr.dev",
  "vulnStatus": "Awaiting Analysis",
  "weaknesses": [
    {
      "description": [
        {
          "lang": "en",
          "value": "CWE-22"
        }
      ],
      "source": "security@huntr.dev",
      "type": "Secondary"
    }
  ]
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…