swagger-api / swagger-codegen

swagger-codegen contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagger definition.
http://swagger.io
Apache License 2.0
17.02k stars 6.03k forks source link

CVE-2019-11358 (Medium) detected in multiple libraries - autoclosed #11422

Closed mend-for-github-com[bot] closed 2 years ago

mend-for-github-com[bot] commented 2 years ago

CVE-2019-11358 - Medium Severity Vulnerability

Vulnerable Libraries - jquery-2.1.4.min.js, Alamofire-4.5.1, Alamofire-4.9.0

jquery-2.1.4.min.js

JavaScript library for DOM operations

Library home page: https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js

Path to dependency file: /samples/client/petstore/javascript/test/run_tests.html

Path to vulnerable library: /samples/client/petstore/javascript/test/run_tests.html,/samples/client/petstore/javascript-promise/test/run_tests.html

Dependency Hierarchy: - :x: **jquery-2.1.4.min.js** (Vulnerable Library)

Alamofire-4.5.1

Library home page: https://github.com/Alamofire/Alamofire/archive/4.5.1.zip

Path to dependency file: /samples/client/petstore/swift4/rxswift/SwaggerClientTests/Podfile.lock

Path to vulnerable library: /samples/client/petstore/swift4/rxswift/SwaggerClientTests/Podfile.lock,/samples/client/petstore/swift5/rxswift/SwaggerClientTests/Podfile.lock,/samples/client/test/swift4/default/TestClientApp/Podfile.lock,/samples/client/test/swift4/default/TestClientApp/Podfile.lock

Dependency Hierarchy: - :x: **Alamofire-4.5.1** (Vulnerable Library)

Alamofire-4.9.0

Library home page: https://github.com/Alamofire/Alamofire/archive/4.9.0.zip

Path to dependency file: /samples/client/petstore/swift5/default/SwaggerClientTests/Podfile.lock

Path to vulnerable library: /samples/client/petstore/swift5/default/SwaggerClientTests/Podfile.lock

Dependency Hierarchy: - PetstoreClient-0.0.1 (Root Library) - :x: **Alamofire-4.9.0** (Vulnerable Library)

Found in HEAD commit: 4b7a8d7d7384aa6a27d6309c35ade0916edae7ed

Found in base branch: master

Vulnerability Details

jQuery before 3.4.0, as used in Drupal, Backdrop CMS, and other products, mishandles jQuery.extend(true, {}, ...) because of Object.prototype pollution. If an unsanitized source object contained an enumerable __proto__ property, it could extend the native Object.prototype.

Publish Date: 2019-04-20

URL: CVE-2019-11358

CVSS 3 Score Details (6.1)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: Required - Scope: Changed - Impact Metrics: - Confidentiality Impact: Low - Integrity Impact: Low - Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-11358

Release Date: 2019-04-20

Fix Resolution: 3.4.0

mend-for-github-com[bot] commented 2 years ago

:heavy_check_mark: This issue was automatically closed by WhiteSource because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the WhiteSource inventory.