{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/30557?format=json","vulnerability_id":"VCID-t7jm-25zs-aqfq","summary":"Arbitrary File Read\nfury-adapter-swagger is a fury.js adapter for loading swagger HTTP API description documents - either via YAML or JSON.\n\nfury-adapter-swagger has a vulnerability that allows arbitrary file reads off the file system.  This could be used to retrieve sensitive data, or cause a denial of service by reading `/dev/zero`.  An example proof of concept is provided below:\n\n```\n---\nswagger: '2.0'\ninfo:\n  title: Read local files\n  version: '1.0'\n\npaths:\n  /foo:\n    get:\n      responses:\n        200:\n          description: Some description\n          examples:\n            text/html:\n              example:\n                $ref: '/etc/passwd'\n```","aliases":[{"alias":"CVE-2016-1000249"},{"alias":"GHSA-2r7f-4h2c-5x73"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/53229?format=json","purl":"pkg:npm/fury-adapter-swagger@0.9.7","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/fury-adapter-swagger@0.9.7"}],"affected_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/53227?format=json","purl":"pkg:npm/fury-adapter-swagger@0.2.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-t7jm-25zs-aqfq"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/fury-adapter-swagger@0.2.0"},{"url":"http://public2.vulnerablecode.io/api/packages/208603?format=json","purl":"pkg:npm/fury-adapter-swagger@0.3.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-t7jm-25zs-aqfq"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/fury-adapter-swagger@0.3.0"},{"url":"http://public2.vulnerablecode.io/api/packages/208604?format=json","purl":"pkg:npm/fury-adapter-swagger@0.3.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-t7jm-25zs-aqfq"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/fury-adapter-swagger@0.3.1"},{"url":"http://public2.vulnerablecode.io/api/packages/208606?format=json","purl":"pkg:npm/fury-adapter-swagger@0.3.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-t7jm-25zs-aqfq"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/fury-adapter-swagger@0.3.2"},{"url":"http://public2.vulnerablecode.io/api/packages/208607?format=json","purl":"pkg:npm/fury-adapter-swagger@0.4.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-t7jm-25zs-aqfq"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/fury-adapter-swagger@0.4.0"},{"url":"http://public2.vulnerablecode.io/api/packages/208608?format=json","purl":"pkg:npm/fury-adapter-swagger@0.5.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-t7jm-25zs-aqfq"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/fury-adapter-swagger@0.5.0"},{"url":"http://public2.vulnerablecode.io/api/packages/208609?format=json","purl":"pkg:npm/fury-adapter-swagger@0.5.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-t7jm-25zs-aqfq"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/fury-adapter-swagger@0.5.1"},{"url":"http://public2.vulnerablecode.io/api/packages/208610?format=json","purl":"pkg:npm/fury-adapter-swagger@0.5.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-t7jm-25zs-aqfq"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/fury-adapter-swagger@0.5.2"},{"url":"http://public2.vulnerablecode.io/api/packages/208611?format=json","purl":"pkg:npm/fury-adapter-swagger@0.6.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-t7jm-25zs-aqfq"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/fury-adapter-swagger@0.6.0"},{"url":"http://public2.vulnerablecode.io/api/packages/208612?format=json","purl":"pkg:npm/fury-adapter-swagger@0.6.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-t7jm-25zs-aqfq"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/fury-adapter-swagger@0.6.1"},{"url":"http://public2.vulnerablecode.io/api/packages/208613?format=json","purl":"pkg:npm/fury-adapter-swagger@0.6.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-t7jm-25zs-aqfq"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/fury-adapter-swagger@0.6.2"},{"url":"http://public2.vulnerablecode.io/api/packages/208614?format=json","purl":"pkg:npm/fury-adapter-swagger@0.7.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-t7jm-25zs-aqfq"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/fury-adapter-swagger@0.7.0"},{"url":"http://public2.vulnerablecode.io/api/packages/208615?format=json","purl":"pkg:npm/fury-adapter-swagger@0.7.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-t7jm-25zs-aqfq"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/fury-adapter-swagger@0.7.1"},{"url":"http://public2.vulnerablecode.io/api/packages/208616?format=json","purl":"pkg:npm/fury-adapter-swagger@0.7.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-t7jm-25zs-aqfq"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/fury-adapter-swagger@0.7.2"},{"url":"http://public2.vulnerablecode.io/api/packages/208617?format=json","purl":"pkg:npm/fury-adapter-swagger@0.7.3","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-t7jm-25zs-aqfq"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/fury-adapter-swagger@0.7.3"},{"url":"http://public2.vulnerablecode.io/api/packages/208618?format=json","purl":"pkg:npm/fury-adapter-swagger@0.8.0-pre.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-t7jm-25zs-aqfq"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/fury-adapter-swagger@0.8.0-pre.0"},{"url":"http://public2.vulnerablecode.io/api/packages/208619?format=json","purl":"pkg:npm/fury-adapter-swagger@0.8.0-pre.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-t7jm-25zs-aqfq"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/fury-adapter-swagger@0.8.0-pre.1"},{"url":"http://public2.vulnerablecode.io/api/packages/208620?format=json","purl":"pkg:npm/fury-adapter-swagger@0.8.0-pre.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-t7jm-25zs-aqfq"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/fury-adapter-swagger@0.8.0-pre.2"},{"url":"http://public2.vulnerablecode.io/api/packages/208621?format=json","purl":"pkg:npm/fury-adapter-swagger@0.8.0-pre.4","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-t7jm-25zs-aqfq"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/fury-adapter-swagger@0.8.0-pre.4"},{"url":"http://public2.vulnerablecode.io/api/packages/208622?format=json","purl":"pkg:npm/fury-adapter-swagger@0.8.0-pre.5","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-t7jm-25zs-aqfq"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/fury-adapter-swagger@0.8.0-pre.5"},{"url":"http://public2.vulnerablecode.io/api/packages/208623?format=json","purl":"pkg:npm/fury-adapter-swagger@0.8.0-pre.7","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-t7jm-25zs-aqfq"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/fury-adapter-swagger@0.8.0-pre.7"},{"url":"http://public2.vulnerablecode.io/api/packages/208624?format=json","purl":"pkg:npm/fury-adapter-swagger@0.8.0-pre.8","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-t7jm-25zs-aqfq"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/fury-adapter-swagger@0.8.0-pre.8"},{"url":"http://public2.vulnerablecode.io/api/packages/208625?format=json","purl":"pkg:npm/fury-adapter-swagger@0.8.0-pre.9","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-t7jm-25zs-aqfq"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/fury-adapter-swagger@0.8.0-pre.9"},{"url":"http://public2.vulnerablecode.io/api/packages/208626?format=json","purl":"pkg:npm/fury-adapter-swagger@0.8.0-pre.10","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-t7jm-25zs-aqfq"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/fury-adapter-swagger@0.8.0-pre.10"},{"url":"http://public2.vulnerablecode.io/api/packages/208627?format=json","purl":"pkg:npm/fury-adapter-swagger@0.8.0-pre.12","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-t7jm-25zs-aqfq"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/fury-adapter-swagger@0.8.0-pre.12"},{"url":"http://public2.vulnerablecode.io/api/packages/208628?format=json","purl":"pkg:npm/fury-adapter-swagger@0.8.0-pre.14","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-t7jm-25zs-aqfq"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/fury-adapter-swagger@0.8.0-pre.14"},{"url":"http://public2.vulnerablecode.io/api/packages/208629?format=json","purl":"pkg:npm/fury-adapter-swagger@0.8.0-pre.15","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-t7jm-25zs-aqfq"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/fury-adapter-swagger@0.8.0-pre.15"},{"url":"http://public2.vulnerablecode.io/api/packages/208630?format=json","purl":"pkg:npm/fury-adapter-swagger@0.8.0-pre.16","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-t7jm-25zs-aqfq"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/fury-adapter-swagger@0.8.0-pre.16"},{"url":"http://public2.vulnerablecode.io/api/packages/208631?format=json","purl":"pkg:npm/fury-adapter-swagger@0.8.0-pre.18","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-t7jm-25zs-aqfq"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/fury-adapter-swagger@0.8.0-pre.18"},{"url":"http://public2.vulnerablecode.io/api/packages/208632?format=json","purl":"pkg:npm/fury-adapter-swagger@0.8.0-pre.19","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-t7jm-25zs-aqfq"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/fury-adapter-swagger@0.8.0-pre.19"},{"url":"http://public2.vulnerablecode.io/api/packages/208633?format=json","purl":"pkg:npm/fury-adapter-swagger@0.8.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-t7jm-25zs-aqfq"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/fury-adapter-swagger@0.8.0"},{"url":"http://public2.vulnerablecode.io/api/packages/208634?format=json","purl":"pkg:npm/fury-adapter-swagger@0.8.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-t7jm-25zs-aqfq"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/fury-adapter-swagger@0.8.1"},{"url":"http://public2.vulnerablecode.io/api/packages/208635?format=json","purl":"pkg:npm/fury-adapter-swagger@0.9.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-t7jm-25zs-aqfq"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/fury-adapter-swagger@0.9.0"},{"url":"http://public2.vulnerablecode.io/api/packages/208636?format=json","purl":"pkg:npm/fury-adapter-swagger@0.9.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-t7jm-25zs-aqfq"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/fury-adapter-swagger@0.9.1"},{"url":"http://public2.vulnerablecode.io/api/packages/208637?format=json","purl":"pkg:npm/fury-adapter-swagger@0.9.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-t7jm-25zs-aqfq"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/fury-adapter-swagger@0.9.2"},{"url":"http://public2.vulnerablecode.io/api/packages/208638?format=json","purl":"pkg:npm/fury-adapter-swagger@0.9.3","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-t7jm-25zs-aqfq"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/fury-adapter-swagger@0.9.3"},{"url":"http://public2.vulnerablecode.io/api/packages/208639?format=json","purl":"pkg:npm/fury-adapter-swagger@0.9.4","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-t7jm-25zs-aqfq"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/fury-adapter-swagger@0.9.4"},{"url":"http://public2.vulnerablecode.io/api/packages/208640?format=json","purl":"pkg:npm/fury-adapter-swagger@0.9.5","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-t7jm-25zs-aqfq"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/fury-adapter-swagger@0.9.5"},{"url":"http://public2.vulnerablecode.io/api/packages/53228?format=json","purl":"pkg:npm/fury-adapter-swagger@0.9.6","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-t7jm-25zs-aqfq"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/fury-adapter-swagger@0.9.6"}],"references":[{"reference_url":"https://github.com/apiaryio/fury-adapter-swagger","reference_id":"","reference_type":"","scores":[{"value":"7.3","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/apiaryio/fury-adapter-swagger"},{"reference_url":"https://github.com/apiaryio/fury-adapter-swagger/commit/777e2d68f03546a88f3203bbd4725df8b1f662a7","reference_id":"","reference_type":"","scores":[{"value":"7.3","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/apiaryio/fury-adapter-swagger/commit/777e2d68f03546a88f3203bbd4725df8b1f662a7"},{"reference_url":"https://github.com/apiaryio/fury-adapter-swagger/commit/f4407e3a5323bc31123d45dbc93b8417002e4d51#diff-54c345dc104dc19440f9c2482b7883df820e8b9b699fdd8fa07e2773e7197a29","reference_id":"","reference_type":"","scores":[{"value":"7.3","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/apiaryio/fury-adapter-swagger/commit/f4407e3a5323bc31123d45dbc93b8417002e4d51#diff-54c345dc104dc19440f9c2482b7883df820e8b9b699fdd8fa07e2773e7197a29"},{"reference_url":"https://github.com/apiaryio/fury-adapter-swagger/pull/89","reference_id":"","reference_type":"","scores":[{"value":"7.3","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/apiaryio/fury-adapter-swagger/pull/89"},{"reference_url":"https://github.com/distributedweaknessfiling/DWF-Database-Artifacts/blob/master/DWF/2016/1000249/CVE-2016-1000249.json","reference_id":"","reference_type":"","scores":[{"value":"9.1","scoring_system":"cvssv3","scoring_elements":""}],"url":"https://github.com/distributedweaknessfiling/DWF-Database-Artifacts/blob/master/DWF/2016/1000249/CVE-2016-1000249.json"},{"reference_url":"https://security.snyk.io/vuln/npm:fury-adapter-swagger:20161024","reference_id":"","reference_type":"","scores":[{"value":"7.3","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://security.snyk.io/vuln/npm:fury-adapter-swagger:20161024"},{"reference_url":"https://www.npmjs.com/advisories/305","reference_id":"","reference_type":"","scores":[{"value":"7.3","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://www.npmjs.com/advisories/305"},{"reference_url":"https://github.com/nodejs/security-wg/blob/main/vuln/npm/305.json","reference_id":"305","reference_type":"","scores":[{"value":"9.1","scoring_system":"cvssv3","scoring_elements":""}],"url":"https://github.com/nodejs/security-wg/blob/main/vuln/npm/305.json"}],"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":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."},{"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."}],"exploits":[],"severity_range_score":"7.0 - 9.1","exploitability":"0.5","weighted_severity":"8.2","risk_score":4.1,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-t7jm-25zs-aqfq"}