CVE-2023-21893: Oracle.ManagedDataAccess Component Takeover Vulnerability
HIGHCVE-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.
CVE-2023-21893 at a Glance
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).
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.
Upgrade Oracle.ManagedDataAccess to 21.9.0
Upgrade Oracle.ManagedDataAccess.Core to 3.21.90
Upgrade Oracle.ManagedDataAccess to 19.18.0
Upgrade Oracle.ManagedDataAccess.Core to 2.19.180
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
CVE-2023-21893 Affected Oracle.ManagedDataAccess Versions
4 component(s)| 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?
Which Oracle.ManagedDataAccess versions are affected?
What version fixes CVE-2023-21893?
Is Oracle.ManagedDataAccess affected?
Is Oracle.ManagedDataAccess.Core affected?
What is the CVSS score of CVE-2023-21893?
What CWE is associated with CVE-2023-21893?
How can I check NuGet dependencies for CVE-2023-21893?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}