{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/8800?format=json","vulnerability_id":"VCID-nwqq-fdtk-dudg","summary":"Path traversal on Windows\nPath traversal is possible via backslash characters on Windows. An attacker could access arbitrary files and directories stored on the file system.","aliases":[{"alias":"CVE-2018-7212"},{"alias":"GHSA-h29f-7f56-j8wh"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/26520?format=json","purl":"pkg:gem/rack-protection@2.0.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-nwqq-fdtk-dudg"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/rack-protection@2.0.1"},{"url":"http://public2.vulnerablecode.io/api/packages/26522?format=json","purl":"pkg:gem/sinatra@2.0.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-5dmr-8tvd-8uen"},{"vulnerability":"VCID-7f81-3s1y-sfec"},{"vulnerability":"VCID-k7su-xtsg-jyg9"},{"vulnerability":"VCID-nwqq-fdtk-dudg"},{"vulnerability":"VCID-tax5-a72w-mbhy"},{"vulnerability":"VCID-vy9q-nvxx-yfh5"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/sinatra@2.0.1"},{"url":"http://public2.vulnerablecode.io/api/packages/26523?format=json","purl":"pkg:gem/sinatra@2.0.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-7f81-3s1y-sfec"},{"vulnerability":"VCID-k7su-xtsg-jyg9"},{"vulnerability":"VCID-tax5-a72w-mbhy"},{"vulnerability":"VCID-vy9q-nvxx-yfh5"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/sinatra@2.0.2"}],"affected_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/134863?format=json","purl":"pkg:gem/rack-protection@0.1.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-nwqq-fdtk-dudg"},{"vulnerability":"VCID-q4x5-bxn7-5yht"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/rack-protection@0.1.0"},{"url":"http://public2.vulnerablecode.io/api/packages/134864?format=json","purl":"pkg:gem/rack-protection@1.0.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-nwqq-fdtk-dudg"},{"vulnerability":"VCID-q4x5-bxn7-5yht"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/rack-protection@1.0.0"},{"url":"http://public2.vulnerablecode.io/api/packages/134865?format=json","purl":"pkg:gem/rack-protection@1.1.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-nwqq-fdtk-dudg"},{"vulnerability":"VCID-q4x5-bxn7-5yht"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/rack-protection@1.1.2"},{"url":"http://public2.vulnerablecode.io/api/packages/134866?format=json","purl":"pkg:gem/rack-protection@1.1.3","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-nwqq-fdtk-dudg"},{"vulnerability":"VCID-q4x5-bxn7-5yht"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/rack-protection@1.1.3"},{"url":"http://public2.vulnerablecode.io/api/packages/134867?format=json","purl":"pkg:gem/rack-protection@1.1.4","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-nwqq-fdtk-dudg"},{"vulnerability":"VCID-q4x5-bxn7-5yht"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/rack-protection@1.1.4"},{"url":"http://public2.vulnerablecode.io/api/packages/134868?format=json","purl":"pkg:gem/rack-protection@1.2.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-nwqq-fdtk-dudg"},{"vulnerability":"VCID-q4x5-bxn7-5yht"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/rack-protection@1.2.0"},{"url":"http://public2.vulnerablecode.io/api/packages/134869?format=json","purl":"pkg:gem/rack-protection@1.3.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-nwqq-fdtk-dudg"},{"vulnerability":"VCID-q4x5-bxn7-5yht"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/rack-protection@1.3.1"},{"url":"http://public2.vulnerablecode.io/api/packages/134870?format=json","purl":"pkg:gem/rack-protection@1.3.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-nwqq-fdtk-dudg"},{"vulnerability":"VCID-q4x5-bxn7-5yht"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/rack-protection@1.3.2"},{"url":"http://public2.vulnerablecode.io/api/packages/134871?format=json","purl":"pkg:gem/rack-protection@1.4.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-nwqq-fdtk-dudg"},{"vulnerability":"VCID-q4x5-bxn7-5yht"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/rack-protection@1.4.0"},{"url":"http://public2.vulnerablecode.io/api/packages/134872?format=json","purl":"pkg:gem/rack-protection@1.5.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-nwqq-fdtk-dudg"},{"vulnerability":"VCID-q4x5-bxn7-5yht"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/rack-protection@1.5.0"},{"url":"http://public2.vulnerablecode.io/api/packages/134873?format=json","purl":"pkg:gem/rack-protection@1.5.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-nwqq-fdtk-dudg"},{"vulnerability":"VCID-q4x5-bxn7-5yht"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/rack-protection@1.5.1"},{"url":"http://public2.vulnerablecode.io/api/packages/134874?format=json","purl":"pkg:gem/rack-protection@1.5.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-nwqq-fdtk-dudg"},{"vulnerability":"VCID-q4x5-bxn7-5yht"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/rack-protection@1.5.2"},{"url":"http://public2.vulnerablecode.io/api/packages/134875?format=json","purl":"pkg:gem/rack-protection@1.5.3","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-nwqq-fdtk-dudg"},{"vulnerability":"VCID-q4x5-bxn7-5yht"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/rack-protection@1.5.3"},{"url":"http://public2.vulnerablecode.io/api/packages/130678?format=json","purl":"pkg:gem/rack-protection@1.6","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-nwqq-fdtk-dudg"},{"vulnerability":"VCID-q4x5-bxn7-5yht"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/rack-protection@1.6"},{"url":"http://public2.vulnerablecode.io/api/packages/26752?format=json","purl":"pkg:gem/rack-protection@2.0.0.beta1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-nwqq-fdtk-dudg"},{"vulnerability":"VCID-q4x5-bxn7-5yht"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/rack-protection@2.0.0.beta1"},{"url":"http://public2.vulnerablecode.io/api/packages/134876?format=json","purl":"pkg:gem/rack-protection@2.0.0.beta2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-nwqq-fdtk-dudg"},{"vulnerability":"VCID-q4x5-bxn7-5yht"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/rack-protection@2.0.0.beta2"},{"url":"http://public2.vulnerablecode.io/api/packages/134877?format=json","purl":"pkg:gem/rack-protection@2.0.0.rc1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-nwqq-fdtk-dudg"},{"vulnerability":"VCID-q4x5-bxn7-5yht"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/rack-protection@2.0.0.rc1"},{"url":"http://public2.vulnerablecode.io/api/packages/134878?format=json","purl":"pkg:gem/rack-protection@2.0.0.rc2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-nwqq-fdtk-dudg"},{"vulnerability":"VCID-q4x5-bxn7-5yht"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/rack-protection@2.0.0.rc2"},{"url":"http://public2.vulnerablecode.io/api/packages/134879?format=json","purl":"pkg:gem/rack-protection@2.0.0.rc5","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-nwqq-fdtk-dudg"},{"vulnerability":"VCID-q4x5-bxn7-5yht"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/rack-protection@2.0.0.rc5"},{"url":"http://public2.vulnerablecode.io/api/packages/134880?format=json","purl":"pkg:gem/rack-protection@2.0.0.rc6","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-nwqq-fdtk-dudg"},{"vulnerability":"VCID-q4x5-bxn7-5yht"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/rack-protection@2.0.0.rc6"},{"url":"http://public2.vulnerablecode.io/api/packages/26757?format=json","purl":"pkg:gem/rack-protection@2.0.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-nwqq-fdtk-dudg"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/rack-protection@2.0.0"},{"url":"http://public2.vulnerablecode.io/api/packages/134881?format=json","purl":"pkg:gem/rack-protection@2.0.1.rc1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-nwqq-fdtk-dudg"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/rack-protection@2.0.1.rc1"},{"url":"http://public2.vulnerablecode.io/api/packages/26520?format=json","purl":"pkg:gem/rack-protection@2.0.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-nwqq-fdtk-dudg"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/rack-protection@2.0.1"},{"url":"http://public2.vulnerablecode.io/api/packages/130897?format=json","purl":"pkg:gem/sinatra@2.0.0.beta1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-5dmr-8tvd-8uen"},{"vulnerability":"VCID-7f81-3s1y-sfec"},{"vulnerability":"VCID-nwqq-fdtk-dudg"},{"vulnerability":"VCID-tax5-a72w-mbhy"},{"vulnerability":"VCID-vy9q-nvxx-yfh5"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/sinatra@2.0.0.beta1"},{"url":"http://public2.vulnerablecode.io/api/packages/26521?format=json","purl":"pkg:gem/sinatra@2.0.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-5dmr-8tvd-8uen"},{"vulnerability":"VCID-7f81-3s1y-sfec"},{"vulnerability":"VCID-k7su-xtsg-jyg9"},{"vulnerability":"VCID-nwqq-fdtk-dudg"},{"vulnerability":"VCID-tax5-a72w-mbhy"},{"vulnerability":"VCID-vy9q-nvxx-yfh5"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/sinatra@2.0.0"},{"url":"http://public2.vulnerablecode.io/api/packages/140560?format=json","purl":"pkg:gem/sinatra@2.0.1.rc1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-5dmr-8tvd-8uen"},{"vulnerability":"VCID-7f81-3s1y-sfec"},{"vulnerability":"VCID-k7su-xtsg-jyg9"},{"vulnerability":"VCID-nwqq-fdtk-dudg"},{"vulnerability":"VCID-tax5-a72w-mbhy"},{"vulnerability":"VCID-vy9q-nvxx-yfh5"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/sinatra@2.0.1.rc1"},{"url":"http://public2.vulnerablecode.io/api/packages/26522?format=json","purl":"pkg:gem/sinatra@2.0.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-5dmr-8tvd-8uen"},{"vulnerability":"VCID-7f81-3s1y-sfec"},{"vulnerability":"VCID-k7su-xtsg-jyg9"},{"vulnerability":"VCID-nwqq-fdtk-dudg"},{"vulnerability":"VCID-tax5-a72w-mbhy"},{"vulnerability":"VCID-vy9q-nvxx-yfh5"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/sinatra@2.0.1"}],"references":[{"reference_url":"https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-7212.json","reference_id":"","reference_type":"","scores":[{"value":"5.3","scoring_system":"cvssv3","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"}],"url":"https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-7212.json"},{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2018-7212","reference_id":"","reference_type":"","scores":[{"value":"0.00205","scoring_system":"epss","scoring_elements":"0.42451","published_at":"2026-05-14T12:55:00Z"},{"value":"0.00205","scoring_system":"epss","scoring_elements":"0.42385","published_at":"2026-05-12T12:55:00Z"},{"value":"0.00205","scoring_system":"epss","scoring_elements":"0.42357","published_at":"2026-05-11T12:55:00Z"},{"value":"0.00205","scoring_system":"epss","scoring_elements":"0.4243","published_at":"2026-05-09T12:55:00Z"},{"value":"0.00205","scoring_system":"epss","scoring_elements":"0.42639","published_at":"2026-04-21T12:55:00Z"},{"value":"0.00205","scoring_system":"epss","scoring_elements":"0.42413","published_at":"2026-05-07T12:55:00Z"},{"value":"0.00205","scoring_system":"epss","scoring_elements":"0.42337","published_at":"2026-05-05T12:55:00Z"},{"value":"0.00205","scoring_system":"epss","scoring_elements":"0.42479","published_at":"2026-04-29T12:55:00Z"},{"value":"0.00205","scoring_system":"epss","scoring_elements":"0.42464","published_at":"2026-05-15T12:55:00Z"},{"value":"0.00205","scoring_system":"epss","scoring_elements":"0.42562","published_at":"2026-04-26T12:55:00Z"},{"value":"0.00278","scoring_system":"epss","scoring_elements":"0.51264","published_at":"2026-04-09T12:55:00Z"},{"value":"0.00278","scoring_system":"epss","scoring_elements":"0.51175","published_at":"2026-04-01T12:55:00Z"},{"value":"0.00278","scoring_system":"epss","scoring_elements":"0.51228","published_at":"2026-04-02T12:55:00Z"},{"value":"0.00278","scoring_system":"epss","scoring_elements":"0.51254","published_at":"2026-04-04T12:55:00Z"},{"value":"0.00278","scoring_system":"epss","scoring_elements":"0.51212","published_at":"2026-04-07T12:55:00Z"},{"value":"0.00278","scoring_system":"epss","scoring_elements":"0.51268","published_at":"2026-04-08T12:55:00Z"},{"value":"0.00278","scoring_system":"epss","scoring_elements":"0.51308","published_at":"2026-04-11T12:55:00Z"},{"value":"0.00278","scoring_system":"epss","scoring_elements":"0.51287","published_at":"2026-04-12T12:55:00Z"},{"value":"0.00278","scoring_system":"epss","scoring_elements":"0.51273","published_at":"2026-04-13T12:55:00Z"},{"value":"0.00278","scoring_system":"epss","scoring_elements":"0.51313","published_at":"2026-04-16T12:55:00Z"},{"value":"0.00278","scoring_system":"epss","scoring_elements":"0.5132","published_at":"2026-04-18T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2018-7212"},{"reference_url":"https://github.com/sinatra/rack-protection/pull/120","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/sinatra/rack-protection/pull/120"},{"reference_url":"https://github.com/sinatra/rack-protection/pull/120/commits/4239c2f189a73dfc93e957fc97adcbcbc0ed31c6","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/sinatra/rack-protection/pull/120/commits/4239c2f189a73dfc93e957fc97adcbcbc0ed31c6"},{"reference_url":"https://github.com/sinatra/sinatra","reference_id":"","reference_type":"","scores":[{"value":"5.3","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/sinatra/sinatra"},{"reference_url":"https://github.com/sinatra/sinatra/commit/6ad721abcfe36334108dcdd05d046c361e1b7a9c","reference_id":"","reference_type":"","scores":[{"value":"5.3","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/sinatra/sinatra/commit/6ad721abcfe36334108dcdd05d046c361e1b7a9c"},{"reference_url":"https://github.com/sinatra/sinatra/commit/d17aa95f5056c52daf5d7c3170fbfd831dc96381","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/sinatra/sinatra/commit/d17aa95f5056c52daf5d7c3170fbfd831dc96381"},{"reference_url":"https://github.com/sinatra/sinatra/pull/1379","reference_id":"","reference_type":"","scores":[{"value":"5.3","scoring_system":"cvssv3","scoring_elements":""},{"value":"5.3","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/sinatra/sinatra/pull/1379"},{"reference_url":"https://bugzilla.redhat.com/show_bug.cgi?id=1802282","reference_id":"1802282","reference_type":"","scores":[],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1802282"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2018-7212","reference_id":"CVE-2018-7212","reference_type":"","scores":[{"value":"5.3","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-7212"},{"reference_url":"https://github.com/advisories/GHSA-h29f-7f56-j8wh","reference_id":"GHSA-h29f-7f56-j8wh","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-h29f-7f56-j8wh"}],"weaknesses":[{"cwe_id":1035,"name":"OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."},{"cwe_id":22,"name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory."},{"cwe_id":937,"name":"OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."}],"exploits":[],"severity_range_score":"4.0 - 6.9","exploitability":"0.5","weighted_severity":"6.2","risk_score":3.1,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-nwqq-fdtk-dudg"}