artkamote / examples

Serverless Examples – A collection of boilerplates and examples of serverless architectures built with the Serverless Framework on AWS Lambda, Microsoft Azure, Google Cloud Functions, and more.
https://www.serverless.com/examples/
Other
0 stars 0 forks source link

CVE-2012-6708 (Medium) detected in multiple libraries #74

Open mend-bolt-for-github[bot] opened 2 years ago

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

CVE-2012-6708 - Medium Severity Vulnerability

Vulnerable Libraries - jquery-1.7.2.min.js, jquery-1.7.1.min.js, jquery-1.6.1.min.js

jquery-1.7.2.min.js

JavaScript library for DOM operations

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

Path to dependency file: /aws-node-graphql-and-rds/node_modules/jmespath/index.html

Path to vulnerable library: /aws-node-graphql-and-rds/node_modules/jmespath/index.html,/aws-node-typescript-kinesis/node_modules/jmespath/index.html,/aws-node-typescript-nest/node_modules/jmespath/index.html,/aws-node-s3-file-replicator/node_modules/jmespath/index.html,/aws-python-auth0-custom-authorizers-api/node_modules/jmespath/index.html,/aws-node-http-api-typescript/node_modules/jmespath/index.html,/aws-node-fetch-file-and-store-in-s3/node_modules/jmespath/index.html,/aws-rust-simple-http-endpoint/node_modules/jmespath/index.html,/aws-node-sqs-worker/node_modules/jmespath/index.html,/aws-node-oauth-dropbox-api/node_modules/jmespath/index.html,/aws-dotnet-rest-api-with-dynamodb/src/DotNetServerless.Lambda/node_modules/jmespath/index.html,/aws-ruby-sqs-with-dynamodb/src/node_modules/jmespath/index.html,/aws-ruby-sqs-with-dynamodb/node_modules/jmespath/index.html,/aws-node-rekognition-analysis-s3-image/node_modules/jmespath/index.html,/aws-node-dynamodb-backup/node_modules/jmespath/index.html,/aws-python-sqs-worker/node_modules/jmespath/index.html,/aws-golang-auth-examples/node_modules/jmespath/index.html,/aws-node-serverless-gong/node_modules/jmespath/index.html,/azure-node-typescript-servicebus-trigger-endpoint/node_modules/jmespath/index.html,/aws-node-rest-api-typescript-simple/node_modules/jmespath/index.html,/aws-node-typescript-apollo-lambda/node_modules/jmespath/index.html,/aws-node-typescript-sqs-standard/node_modules/jmespath/index.html,/aws-golang-dynamo-stream-to-elasticsearch/node_modules/jmespath/index.html,/aws-node-graphql-api-with-dynamodb/node_modules/jmespath/index.html,/aws-node-vue-nuxt-ssr/node_modules/jmespath/index.html,/aws-node-http-api-dynamodb-local/node_modules/jmespath/index.html,/aws-node-dynamic-image-resizer/node_modules/jmespath/index.html,/aws-node-rest-api-with-dynamodb-and-offline/node_modules/jmespath/index.html,/aws-node-signed-uploads/node_modules/jmespath/index.html

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

jquery-1.7.1.min.js

JavaScript library for DOM operations

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

Path to dependency file: /multiplex/index.html

Path to vulnerable library: /multiplex/index.html,/aws-node-rest-api-typescript-simple/node_modules/dot-qs/test/test-dot-querystring.html,/aws-node-fullstack/frontend/node_modules/vm-browserify/example/run/index.html,/aws-node-http-api-typescript/node_modules/dot-qs/test/test-dot-querystring.html,/aws-node-typescript-apollo-lambda/node_modules/dot-qs/test/test-dot-querystring.html,/aws-node-typescript-nest/node_modules/vm-browserify/example/run/index.html,/echo/index.html,/aws-node-oauth-dropbox-api/node_modules/vm-browserify/example/run/index.html,/hapi/html/index.html,/aws-node-typescript-kinesis/node_modules/vm-browserify/example/run/index.html,/aws-python-auth0-custom-authorizers-api/node_modules/dot-qs/test/test-dot-querystring.html,/express-3.x/index.html,/aws-rust-simple-http-endpoint/node_modules/dot-qs/test/test-dot-querystring.html,/aws-node-dynamic-image-resizer/node_modules/dot-qs/test/test-dot-querystring.html,/aws-golang-auth-examples/node_modules/dot-qs/test/test-dot-querystring.html,/aws-node-github-check/node_modules/vm-browserify/example/run/index.html,/aws-node-typescript-sqs-standard/node_modules/vm-browserify/example/run/index.html,/aws-golang-dynamo-stream-to-elasticsearch/node_modules/dot-qs/test/test-dot-querystring.html,/express/index.html

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

jquery-1.6.1.min.js

JavaScript library for DOM operations

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

Path to dependency file: /azure-node-simple-http-endpoint/node_modules/JSONSelect/src/test/conformance_tests.html

Path to vulnerable library: /azure-node-simple-http-endpoint/node_modules/JSONSelect/src/test/js/jquery-1.6.1.min.js,/azure-node-simple-http-endpoint/node_modules/JSONSelect/site/js/jquery-1.6.1.min.js

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

Found in HEAD commit: dcbe4aefe4b3685f4b15493a01db0f19b118a0c4

Found in base branch: master

Vulnerability Details

jQuery before 1.9.0 is vulnerable to Cross-site Scripting (XSS) attacks. The jQuery(strInput) function does not differentiate selectors from HTML in a reliable fashion. In vulnerable versions, jQuery determined whether the input was HTML by looking for the '<' character anywhere in the string, giving attackers more flexibility when attempting to construct a malicious payload. In fixed versions, jQuery only deems the input to be HTML if it explicitly starts with the '<' character, limiting exploitability only to attackers who can control the beginning of a string, which is far less common.

Publish Date: 2018-01-18

URL: CVE-2012-6708

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://nvd.nist.gov/vuln/detail/CVE-2012-6708

Release Date: 2018-01-18

Fix Resolution: jQuery - v1.9.0


Step up your Open Source Security Game with Mend here

mend-bolt-for-github[bot] commented 1 month ago

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

mend-bolt-for-github[bot] commented 1 month ago

:information_source: This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in the Mend inventory.