Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2019-10757 (Critical) detected in knex-0.15.2.tgz #10

Open
mend-bolt-for-github bot opened this issue Jun 9, 2021 · 0 comments
Open

CVE-2019-10757 (Critical) detected in knex-0.15.2.tgz #10

mend-bolt-for-github bot opened this issue Jun 9, 2021 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link
Contributor

mend-bolt-for-github bot commented Jun 9, 2021

CVE-2019-10757 - Critical Severity Vulnerability

Vulnerable Library - knex-0.15.2.tgz

A batteries-included SQL query & schema builder for Postgres, MySQL and SQLite3 and the Browser

Library home page: https://registry.npmjs.org/knex/-/knex-0.15.2.tgz

Path to dependency file: /api-crud-adonisjs/package.json

Path to vulnerable library: /node_modules/knex/package.json

Dependency Hierarchy:

  • lucid-6.1.3.tgz (Root Library)
    • knex-0.15.2.tgz (Vulnerable Library)

Found in base branch: master

Vulnerability Details

knex.js versions before 0.19.5 are vulnerable to SQL Injection attack. Identifiers are escaped incorrectly as part of the MSSQL dialect, allowing attackers to craft a malicious query to the host DB.

Publish Date: 2019-10-08

URL: CVE-2019-10757

CVSS 3 Score Details (9.8)

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: 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-2019-10757

Release Date: 2019-10-08

Fix Resolution (knex): 0.19.5

Direct dependency fix Resolution (@adonisjs/lucid): 6.3.0


Step up your Open Source Security Game with Mend here

@mend-bolt-for-github mend-bolt-for-github bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Jun 9, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2019-10757 (High) detected in knex-0.15.2.tgz CVE-2019-10757 (Critical) detected in knex-0.15.2.tgz Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants