Skip to content

auth0-9.28.0.min.js: 2 vulnerabilities (highest severity is: 8.8) #511

@ibm-mend-app

Description

@ibm-mend-app
Vulnerable Library - auth0-9.28.0.min.js

Auth0 headless browser sdk

Library home page: https://cdnjs.cloudflare.com/ajax/libs/auth0-js/9.28.0/auth0.min.js

Path to dependency file: /mlforkids-api/public/bower_components/auth0.js/example/test.html

Path to vulnerable library: /mlforkids-api/public/bower_components/auth0.js/example/test.html

Found in HEAD commit: 0d054aa63025a974a5a1d267c1e38bdce247556f

Vulnerabilities

Vulnerability Severity CVSS Dependency Type Fixed in (auth0 version) Remediation Possible**
CVE-2018-7307 High 8.8 auth0-9.28.0.min.js Direct v9.3.0
CVE-2017-17068 High 7.5 auth0-9.28.0.min.js Direct Replace or update the following files: callback_popup.html, popup.test.js, popup.js, index.js

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2018-7307

Vulnerable Library - auth0-9.28.0.min.js

Auth0 headless browser sdk

Library home page: https://cdnjs.cloudflare.com/ajax/libs/auth0-js/9.28.0/auth0.min.js

Path to dependency file: /mlforkids-api/public/bower_components/auth0.js/example/test.html

Path to vulnerable library: /mlforkids-api/public/bower_components/auth0.js/example/test.html

Dependency Hierarchy:

  • auth0-9.28.0.min.js (Vulnerable Library)

Found in HEAD commit: 0d054aa63025a974a5a1d267c1e38bdce247556f

Found in base branch: master

Vulnerability Details

The Auth0 Auth0.js library before 9.3 has CSRF because it mishandles the case where the authorization response lacks the state parameter.

Publish Date: 2018-03-06

URL: CVE-2018-7307

CVSS 3 Score Details (8.8)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: Required
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

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

Release Date: 2018-03-06

Fix Resolution: v9.3.0

CVE-2017-17068

Vulnerable Library - auth0-9.28.0.min.js

Auth0 headless browser sdk

Library home page: https://cdnjs.cloudflare.com/ajax/libs/auth0-js/9.28.0/auth0.min.js

Path to dependency file: /mlforkids-api/public/bower_components/auth0.js/example/test.html

Path to vulnerable library: /mlforkids-api/public/bower_components/auth0.js/example/test.html

Dependency Hierarchy:

  • auth0-9.28.0.min.js (Vulnerable Library)

Found in HEAD commit: 0d054aa63025a974a5a1d267c1e38bdce247556f

Found in base branch: master

Vulnerability Details

A cross-origin vulnerability has been discovered in the Auth0 auth0.js library affecting versions < 8.12. This vulnerability allows an attacker to acquire authenticated users' tokens and invoke services on a user's behalf if the target site or application uses a popup callback page with auth0.popup.callback().

Publish Date: 2017-12-06

URL: CVE-2017-17068

CVSS 3 Score Details (7.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: None
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Change files

Origin: auth0/auth0.js@a3d3aac

Release Date: 2017-11-28

Fix Resolution: Replace or update the following files: callback_popup.html, popup.test.js, popup.js, index.js

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions