Vulnerabilities in pkg:nuget/Oracle.ManagedDataAccess

PACKAGE
Advisory Identifier: GHSA-5pm2-9mr2-3frq
Advisory Summary

CVE-2023-21893 is a HIGH (CVSS 7.5) component takeover vulnerability (CWE-284: Improper Access Control) affecting Oracle.ManagedDataAccess libraries in the NuGet ecosystem. The issue involves component takeover in oracle data provider for .net. Remediation is available by upgrading affected packages to version 21.9.0, 3.21.90, 19.18.0, 2.19.180.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:nuget/Oracle.ManagedDataAccess

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:nuget/Oracle.ManagedDataAccess. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-5pm2-9mr2-3frq CVE-2023-21893 HIGH Component takeover in Oracle Data Provider for .NET

CVE-2023-21893 at a Glance

CVE Identifier CVE-2023-21893
GHSA Identifier GHSA-5pm2-9mr2-3frq
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-284: Improper Access Control
Affected Product Oracle.ManagedDataAccess
Package Ecosystem NuGet
Published Date
Last Updated

Security Impact

CVSS: 7.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2023-21893

To remediate this vulnerability, upgrade all affected Oracle.ManagedDataAccess dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

Oracle.ManagedDataAccess fixed: 21.9.0
Upgrade Oracle.ManagedDataAccess to 21.9.0
Oracle.ManagedDataAccess.Core fixed: 3.21.90
Upgrade Oracle.ManagedDataAccess.Core to 3.21.90
Oracle.ManagedDataAccess fixed: 19.18.0
Upgrade Oracle.ManagedDataAccess to 19.18.0
Oracle.ManagedDataAccess.Core fixed: 2.19.180
Upgrade Oracle.ManagedDataAccess.Core to 2.19.180
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for Oracle.ManagedDataAccess

How to Check if You Are Affected

To determine whether your application is affected by CVE-2023-21893, inspect your project dependencies for Oracle.ManagedDataAccess:

inspect dependencies for Oracle.ManagedDataAccess

Analyze the terminal output to locate any version of Oracle.ManagedDataAccess in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 21.9.0), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. In Oracle.ManagedDataAccess, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Vulnerability in the Oracle Data Provider for .NET component of Oracle Database Server. Supported versions that are affected are 19c and 21c. Difficult to exploit vulnerability allows unauthenticated attacker with network access via TCPS to compromise Oracle Data Provider for .NET. Successful attacks require human interaction from a person other than the attacker. Successful attacks of this vulnerability can result in takeover of Oracle Data Provider for .NET. Note: Applies also to Database client-only on Windows platform. CVSS 3.1 Base Score 7.5 (Confidentiality, Integrity and Availability impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H). See the readme.txt files inside the `.nupkg` packages for a reference to the fix.

CVE-2023-21893 Affected Oracle.ManagedDataAccess Versions

4 component(s)
Fixed Versions:
21.9.03.21.9019.18.02.19.180
Product / Package Ecosystem Affected Versions Fixed Version
Oracle.ManagedDataAccess
NuGet
≥ 21.0.0
< 21.9.0
21.9.0
Oracle.ManagedDataAccess.Core
NuGet
≥ 3.21.0
< 3.21.90
3.21.90
Oracle.ManagedDataAccess
NuGet
≥ 19.0.0
< 19.18.0
19.18.0
Oracle.ManagedDataAccess.Core
NuGet
≥ 2.19.0
< 2.19.180
2.19.180

References

Frequently Asked Questions

What is CVE-2023-21893?
CVE-2023-21893 is a security vulnerability in Oracle.ManagedDataAccess involving Component takeover in Oracle Data Provider for .NET under CWE-284: Improper Access Control.
Which Oracle.ManagedDataAccess versions are affected?
Affected versions include releases prior to 21.9.0, 3.21.90, 19.18.0, 2.19.180 across affected packages: Oracle.ManagedDataAccess, Oracle.ManagedDataAccess.Core.
What version fixes CVE-2023-21893?
Upgrading to 21.9.0, 3.21.90, 19.18.0, 2.19.180 (or the latest patched release for your respective branch) resolves the vulnerability.
Is Oracle.ManagedDataAccess affected?
Yes, Oracle.ManagedDataAccess is affected in releases prior to 21.9.0, 19.18.0. Upgrade your dependency to 21.9.0, 19.18.0 or later.
Is Oracle.ManagedDataAccess.Core affected?
Yes, Oracle.ManagedDataAccess.Core is affected in releases prior to 3.21.90, 2.19.180. Upgrade your dependency to 3.21.90, 2.19.180 or later.
What is the CVSS score of CVE-2023-21893?
CVE-2023-21893 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2023-21893?
CVE-2023-21893 is classified under CWE-284: Improper Access Control (The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.).
How can I check NuGet dependencies for CVE-2023-21893?
Run the dependency tree command: 'inspect dependencies for Oracle.ManagedDataAccess'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-5pm2-9mr2-3frq",
  "modified" : "2023-04-13T17:39:27Z",
  "published" : "2023-01-18T00:30:16Z",
  "aliases" : [ "CVE-2023-21893" ],
  "summary" : "Component takeover in Oracle Data Provider for .NET",
  "details" : "Vulnerability in the Oracle Data Provider for .NET component of Oracle Database Server.  Supported versions that are affected are 19c and  21c. Difficult to exploit vulnerability allows unauthenticated attacker with network access via TCPS to compromise Oracle Data Provider for .NET.  Successful attacks require human interaction from a person other than the attacker. Successful attacks of this vulnerability can result in takeover of Oracle Data Provider for .NET. Note: Applies also to Database client-only on Windows platform. CVSS 3.1 Base Score 7.5 (Confidentiality, Integrity and Availability impacts).  CVSS Vector: (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H).\n\nSee the readme.txt files inside the `.nupkg` packages for a reference to the fix.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Oracle.ManagedDataAccess"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "21.0.0"
      }, {
        "fixed" : "21.9.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Oracle.ManagedDataAccess.Core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.21.0"
      }, {
        "fixed" : "3.21.90"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Oracle.ManagedDataAccess"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "19.0.0"
      }, {
        "fixed" : "19.18.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Oracle.ManagedDataAccess.Core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.19.0"
      }, {
        "fixed" : "2.19.180"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-21893"
  }, {
    "type" : "WEB",
    "url" : "https://www.nuget.org/packages/Oracle.ManagedDataAccess.Core/3.21.90"
  }, {
    "type" : "WEB",
    "url" : "https://www.nuget.org/packages/Oracle.ManagedDataAccess/21.9.0"
  }, {
    "type" : "WEB",
    "url" : "https://www.oracle.com/security-alerts/cpujan2023.html"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-284" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-04-12T23:07:14Z",
    "nvd_published_at" : "2023-01-18T00:15:00Z"
  }
}