cve-2018-7212
Vulnerability from cvelistv5
Published
2018-02-18 06:00
Modified
2024-08-05 06:24
Severity ?
Summary
An issue was discovered in rack-protection/lib/rack/protection/path_traversal.rb in Sinatra 2.x before 2.0.1 on Windows. Path traversal is possible via backslash characters.
Impacted products
Vendor Product Version
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-05T06:24:11.191Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://github.com/sinatra/sinatra/commit/6ad721abcfe36334108dcdd05d046c361e1b7a9c"
          },
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://github.com/sinatra/sinatra/pull/1379"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "n/a",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ],
      "datePublic": "2018-02-17T00:00:00",
      "descriptions": [
        {
          "lang": "en",
          "value": "An issue was discovered in rack-protection/lib/rack/protection/path_traversal.rb in Sinatra 2.x before 2.0.1 on Windows. Path traversal is possible via backslash characters."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "n/a",
              "lang": "en",
              "type": "text"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2018-02-18T05:57:01",
        "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "shortName": "mitre"
      },
      "references": [
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/sinatra/sinatra/commit/6ad721abcfe36334108dcdd05d046c361e1b7a9c"
        },
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/sinatra/sinatra/pull/1379"
        }
      ],
      "x_legacyV4Record": {
        "CVE_data_meta": {
          "ASSIGNER": "cve@mitre.org",
          "ID": "CVE-2018-7212",
          "STATE": "PUBLIC"
        },
        "affects": {
          "vendor": {
            "vendor_data": [
              {
                "product": {
                  "product_data": [
                    {
                      "product_name": "n/a",
                      "version": {
                        "version_data": [
                          {
                            "version_value": "n/a"
                          }
                        ]
                      }
                    }
                  ]
                },
                "vendor_name": "n/a"
              }
            ]
          }
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "eng",
              "value": "An issue was discovered in rack-protection/lib/rack/protection/path_traversal.rb in Sinatra 2.x before 2.0.1 on Windows. Path traversal is possible via backslash characters."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "eng",
                  "value": "n/a"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://github.com/sinatra/sinatra/commit/6ad721abcfe36334108dcdd05d046c361e1b7a9c",
              "refsource": "MISC",
              "url": "https://github.com/sinatra/sinatra/commit/6ad721abcfe36334108dcdd05d046c361e1b7a9c"
            },
            {
              "name": "https://github.com/sinatra/sinatra/pull/1379",
              "refsource": "MISC",
              "url": "https://github.com/sinatra/sinatra/pull/1379"
            }
          ]
        }
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
    "assignerShortName": "mitre",
    "cveId": "CVE-2018-7212",
    "datePublished": "2018-02-18T06:00:00",
    "dateReserved": "2018-02-17T00:00:00",
    "dateUpdated": "2024-08-05T06:24:11.191Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "fkie_nvd": {
      "configurations": "[{\"operator\": \"AND\", \"nodes\": [{\"operator\": \"OR\", \"negate\": false, \"cpeMatch\": [{\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:sinatrarb:sinatra:2.0.0:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"930EE49D-7E82-40BB-9C3D-457BB7E44DCC\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:sinatrarb:sinatra:2.0.0:beta2:*:*:*:*:*:*\", \"matchCriteriaId\": \"EE416E39-205E-4B32-A9A4-7C5A1BEEF3EE\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:sinatrarb:sinatra:2.0.0:rc1:*:*:*:*:*:*\", \"matchCriteriaId\": \"51C9FD61-BAC7-492D-8B9E-FD92A941A271\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:sinatrarb:sinatra:2.0.0:rc2:*:*:*:*:*:*\", \"matchCriteriaId\": \"AB506C8A-7A0B-448F-95E3-E76F34A48A77\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:sinatrarb:sinatra:2.0.0:rc3:*:*:*:*:*:*\", \"matchCriteriaId\": \"D1FE1D1C-CD3E-44A8-9D72-289E429118AD\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:sinatrarb:sinatra:2.0.0:rc4:*:*:*:*:*:*\", \"matchCriteriaId\": \"84451DDB-957A-4F3E-B030-D77274F4C3BD\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:sinatrarb:sinatra:2.0.0:rc5:*:*:*:*:*:*\", \"matchCriteriaId\": \"B465B510-DAE3-427D-92E1-A117946A7A36\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:sinatrarb:sinatra:2.0.0:rc6:*:*:*:*:*:*\", \"matchCriteriaId\": \"EE65794E-2D28-4E87-918E-138C8890A873\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:sinatrarb:sinatra:2.0.1:rc1:*:*:*:*:*:*\", \"matchCriteriaId\": \"F5814498-8462-45D3-91B1-C0B02B90E16C\"}]}, {\"operator\": \"OR\", \"negate\": false, \"cpeMatch\": [{\"vulnerable\": false, \"criteria\": \"cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"A2572D17-1DE6-457B-99CC-64AFD54487EA\"}]}]}]",
      "descriptions": "[{\"lang\": \"en\", \"value\": \"An issue was discovered in rack-protection/lib/rack/protection/path_traversal.rb in Sinatra 2.x before 2.0.1 on Windows. Path traversal is possible via backslash characters.\"}, {\"lang\": \"es\", \"value\": \"Se ha descubierto un problema en rack-protection/lib/rack/protection/path_traversal.rb en las versiones 2.x de Sinatra anteriores a la 2.0.1 en Windows. Es posible el salto de directorio mediante caracteres de barra diagonal invertida.\"}]",
      "id": "CVE-2018-7212",
      "lastModified": "2024-11-21T04:11:48.370",
      "metrics": "{\"cvssMetricV30\": [{\"source\": \"nvd@nist.gov\", \"type\": \"Primary\", \"cvssData\": {\"version\": \"3.0\", \"vectorString\": \"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N\", \"baseScore\": 5.3, \"baseSeverity\": \"MEDIUM\", \"attackVector\": \"NETWORK\", \"attackComplexity\": \"LOW\", \"privilegesRequired\": \"NONE\", \"userInteraction\": \"NONE\", \"scope\": \"UNCHANGED\", \"confidentialityImpact\": \"LOW\", \"integrityImpact\": \"NONE\", \"availabilityImpact\": \"NONE\"}, \"exploitabilityScore\": 3.9, \"impactScore\": 1.4}], \"cvssMetricV2\": [{\"source\": \"nvd@nist.gov\", \"type\": \"Primary\", \"cvssData\": {\"version\": \"2.0\", \"vectorString\": \"AV:N/AC:L/Au:N/C:P/I:N/A:N\", \"baseScore\": 5.0, \"accessVector\": \"NETWORK\", \"accessComplexity\": \"LOW\", \"authentication\": \"NONE\", \"confidentialityImpact\": \"PARTIAL\", \"integrityImpact\": \"NONE\", \"availabilityImpact\": \"NONE\"}, \"baseSeverity\": \"MEDIUM\", \"exploitabilityScore\": 10.0, \"impactScore\": 2.9, \"acInsufInfo\": false, \"obtainAllPrivilege\": false, \"obtainUserPrivilege\": false, \"obtainOtherPrivilege\": false, \"userInteractionRequired\": false}]}",
      "published": "2018-02-18T06:29:00.217",
      "references": "[{\"url\": \"https://github.com/sinatra/sinatra/commit/6ad721abcfe36334108dcdd05d046c361e1b7a9c\", \"source\": \"cve@mitre.org\", \"tags\": [\"Third Party Advisory\"]}, {\"url\": \"https://github.com/sinatra/sinatra/pull/1379\", \"source\": \"cve@mitre.org\", \"tags\": [\"Issue Tracking\", \"Third Party Advisory\"]}, {\"url\": \"https://github.com/sinatra/sinatra/commit/6ad721abcfe36334108dcdd05d046c361e1b7a9c\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Third Party Advisory\"]}, {\"url\": \"https://github.com/sinatra/sinatra/pull/1379\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Issue Tracking\", \"Third Party Advisory\"]}]",
      "sourceIdentifier": "cve@mitre.org",
      "vulnStatus": "Modified",
      "weaknesses": "[{\"source\": \"nvd@nist.gov\", \"type\": \"Primary\", \"description\": [{\"lang\": \"en\", \"value\": \"CWE-22\"}]}]"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2018-7212\",\"sourceIdentifier\":\"cve@mitre.org\",\"published\":\"2018-02-18T06:29:00.217\",\"lastModified\":\"2024-11-21T04:11:48.370\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"An issue was discovered in rack-protection/lib/rack/protection/path_traversal.rb in Sinatra 2.x before 2.0.1 on Windows. Path traversal is possible via backslash characters.\"},{\"lang\":\"es\",\"value\":\"Se ha descubierto un problema en rack-protection/lib/rack/protection/path_traversal.rb en las versiones 2.x de Sinatra anteriores a la 2.0.1 en Windows. Es posible el salto de directorio mediante caracteres de barra diagonal invertida.\"}],\"metrics\":{\"cvssMetricV30\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.0\",\"vectorString\":\"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N\",\"baseScore\":5.3,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"LOW\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"NONE\"},\"exploitabilityScore\":3.9,\"impactScore\":1.4}],\"cvssMetricV2\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"2.0\",\"vectorString\":\"AV:N/AC:L/Au:N/C:P/I:N/A:N\",\"baseScore\":5.0,\"accessVector\":\"NETWORK\",\"accessComplexity\":\"LOW\",\"authentication\":\"NONE\",\"confidentialityImpact\":\"PARTIAL\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"NONE\"},\"baseSeverity\":\"MEDIUM\",\"exploitabilityScore\":10.0,\"impactScore\":2.9,\"acInsufInfo\":false,\"obtainAllPrivilege\":false,\"obtainUserPrivilege\":false,\"obtainOtherPrivilege\":false,\"userInteractionRequired\":false}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-22\"}]}],\"configurations\":[{\"operator\":\"AND\",\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:sinatrarb:sinatra:2.0.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"930EE49D-7E82-40BB-9C3D-457BB7E44DCC\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:sinatrarb:sinatra:2.0.0:beta2:*:*:*:*:*:*\",\"matchCriteriaId\":\"EE416E39-205E-4B32-A9A4-7C5A1BEEF3EE\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:sinatrarb:sinatra:2.0.0:rc1:*:*:*:*:*:*\",\"matchCriteriaId\":\"51C9FD61-BAC7-492D-8B9E-FD92A941A271\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:sinatrarb:sinatra:2.0.0:rc2:*:*:*:*:*:*\",\"matchCriteriaId\":\"AB506C8A-7A0B-448F-95E3-E76F34A48A77\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:sinatrarb:sinatra:2.0.0:rc3:*:*:*:*:*:*\",\"matchCriteriaId\":\"D1FE1D1C-CD3E-44A8-9D72-289E429118AD\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:sinatrarb:sinatra:2.0.0:rc4:*:*:*:*:*:*\",\"matchCriteriaId\":\"84451DDB-957A-4F3E-B030-D77274F4C3BD\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:sinatrarb:sinatra:2.0.0:rc5:*:*:*:*:*:*\",\"matchCriteriaId\":\"B465B510-DAE3-427D-92E1-A117946A7A36\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:sinatrarb:sinatra:2.0.0:rc6:*:*:*:*:*:*\",\"matchCriteriaId\":\"EE65794E-2D28-4E87-918E-138C8890A873\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:sinatrarb:sinatra:2.0.1:rc1:*:*:*:*:*:*\",\"matchCriteriaId\":\"F5814498-8462-45D3-91B1-C0B02B90E16C\"}]},{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":false,\"criteria\":\"cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"A2572D17-1DE6-457B-99CC-64AFD54487EA\"}]}]}],\"references\":[{\"url\":\"https://github.com/sinatra/sinatra/commit/6ad721abcfe36334108dcdd05d046c361e1b7a9c\",\"source\":\"cve@mitre.org\",\"tags\":[\"Third Party Advisory\"]},{\"url\":\"https://github.com/sinatra/sinatra/pull/1379\",\"source\":\"cve@mitre.org\",\"tags\":[\"Issue Tracking\",\"Third Party Advisory\"]},{\"url\":\"https://github.com/sinatra/sinatra/commit/6ad721abcfe36334108dcdd05d046c361e1b7a9c\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Third Party Advisory\"]},{\"url\":\"https://github.com/sinatra/sinatra/pull/1379\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Issue Tracking\",\"Third Party Advisory\"]}]}}"
  }
}


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.