Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1360275 - (CVE-2016-1000229) CVE-2016-1000229 swagger-ui: cross-site scripting in key names
CVE-2016-1000229 swagger-ui: cross-site scripting in key names
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20160721,repor...
: Security
Depends On:
Blocks: 1360278 1426003
  Show dependency treegraph
 
Reported: 2016-07-26 07:48 EDT by Martin Prpič
Modified: 2018-07-02 11:51 EDT (History)
11 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
It was found that swagger-ui contains a cross site scripting (XSS) vulnerability in the key names in the JSON document. An attacker could use this flaw to supply a key name with script tags which could cause arbitrary code execution. Additionally it is possible to load the arbitrary JSON files remotely via the URL query-string parameter.
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:0868 normal SHIPPED_LIVE Important: Red Hat JBoss Fuse/A-MQ 6.3 R2 security and bug fix update 2017-04-03 21:02:28 EDT

  None (edit)
Description Martin Prpič 2016-07-26 07:48:31 EDT
The following flaw was found in the swagger-ui library:

Swagger-ui contains a cross site scripting (XSS) vulnerability in the key names for the following object path in the JSON document:

.definitions.<USER_DEFINED>.properties.<INJECTABLE_KEY_NAME>

Supplying a key name with script tags causes arbitrary code execution. In addition it is possible to load the arbitrary JSON files remotely via the URL query-string parameter.

Upstream bug:

https://github.com/swagger-api/swagger-ui/issues/1865

External References:

https://nodesecurity.io/advisories/126
Comment 2 errata-xmlrpc 2017-04-03 17:03:08 EDT
This issue has been addressed in the following products:



Via RHSA-2017:0868 https://access.redhat.com/errata/RHSA-2017:0868
Comment 3 errata-xmlrpc 2018-07-02 11:51:32 EDT
This issue has been addressed in the following products:

  Red Hat JBoss Fuse

Via RHSA-2017:0868 https://access.redhat.com/errata/RHSA-2017:0868

Note You need to log in before you can comment on or make changes to this bug.