CVE-2016-1000249
Arbitrary File Read
Einstufung nach Quelle
Trivys eigenes Label ist CRITICAL. Kritisch laut Node.js Security WG. Niedriger laut GHSA (hoch).
Beschreibung
fury-adapter-swagger is a fury.js adapter for loading swagger HTTP API description documents - either via YAML or JSON. fury-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: ``` --- swagger: '2.0' info: title: Read local files version: '1.0' paths: /foo: get: responses: 200: description: Some description examples: text/html: example: $ref: '/etc/passwd' ```
Betroffene Pakete und behobene Versionen
| Quelle | Paket | Behoben in |
|---|---|---|
| npm::Node.js Ecosystem Security Working Group | fury-adapter-swagger | > 0.9.6 |
| npm::GitHub Security Advisory npm | fury-adapter-swagger | 0.9.7 |
Referenzen
- https://github.com/apiaryio/fury-adapter-swagger
- https://github.com/apiaryio/fury-adapter-swagger/commit/777e2d68f03546a88f3203bbd4725df8b1f662a7
- https://github.com/apiaryio/fury-adapter-swagger/commit/f4407e3a5323bc31123d45dbc93b8417002e4d51#diff-54c345dc104dc19440f9c2482b7883df820e8b9b699fdd8fa07e2773e7197a29
- https://github.com/apiaryio/fury-adapter-swagger/pull/89
- https://github.com/distributedweaknessfiling/DWF-Database-Artifacts/blob/master/DWF/2016/1000249/CVE-2016-1000249.json
- https://security.snyk.io/vuln/npm:fury-adapter-swagger:20161024
- https://www.npmjs.com/advisories/305