CVE-2016-1000249 is a high-severity (CVSS 7.3) vulnerability in fury-adapter-swagger. A fix is available for fury-adapter-swagger — see the affected versions and patch details below.
fury-adapter-swagger allows arbitrary file read from system
Real-World Exposure
fury-adapter-swaggerReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects npm packages — download data is not available via public APIs for these ecosystems.
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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | fury-adapter-swagger | ≥ 0.2.0&&< 0.9.7 | 0.9.7npm install fury-adapter-swagger@0.9.7 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for fury-adapter-swagger, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update fury-adapter-swagger to 0.9.7 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2016-1000249 is resolved across your whole dependency graph.
Workarounds
Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.
Frequently Asked Questions
Is CVE-2016-1000249 in your dependencies?
Find it across npm, including transitive dependencies.