CVE-2024-51417: System.Linq.Dynamic.Core Property Reflection Vulnerability

HIGH
Advisory Identifier: GHSA-4cv2-4hjh-77rx
Published
Advisory Summary

CVE-2024-51417 is a HIGH property reflection vulnerability (General Security Weakness) affecting System.Linq.Dynamic.Core libraries in the NuGet ecosystem. The issue involves property reflection in system.linq.dynamic.core. Remediation is available by upgrading affected packages to version 1.6.0.

CVE-2024-51417 at a Glance

CVE Identifier CVE-2024-51417
GHSA Identifier GHSA-4cv2-4hjh-77rx
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product System.Linq.Dynamic.Core
Package Ecosystem NuGet
Published Date
Last Updated

How to Fix CVE-2024-51417

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

System.Linq.Dynamic.Core fixed: 1.6.0
Upgrade System.Linq.Dynamic.Core to 1.6.0
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 System.Linq.Dynamic.Core

How to Check if You Are Affected

To determine whether your application is affected by CVE-2024-51417, inspect your project dependencies for System.Linq.Dynamic.Core:

inspect dependencies for System.Linq.Dynamic.Core

Analyze the terminal output to locate any version of System.Linq.Dynamic.Core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.6.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 General Security Weakness. In System.Linq.Dynamic.Core, 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

An issue in System.Linq.Dynamic.Core versions before v.1.6.0 allow remote access to properties on reflection types and static properties/fields.

CVE-2024-51417 Affected System.Linq.Dynamic.Core Versions

1 component(s)
Fixed Versions:
1.6.0
Product / Package Ecosystem Affected Versions Fixed Version
System.Linq.Dynamic.Core
NuGet
< 1.6.0
1.6.0

References

Frequently Asked Questions

What is CVE-2024-51417?
CVE-2024-51417 is a security vulnerability in System.Linq.Dynamic.Core involving Property reflection in System.Linq.Dynamic.Core under General Security Weakness.
Which System.Linq.Dynamic.Core versions are affected?
Affected versions include releases prior to 1.6.0 across affected packages: System.Linq.Dynamic.Core.
What version fixes CVE-2024-51417?
Upgrading to 1.6.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is System.Linq.Dynamic.Core affected?
Yes, System.Linq.Dynamic.Core is affected in releases prior to 1.6.0. Upgrade your dependency to 1.6.0 or later.
What CWE is associated with CVE-2024-51417?
CVE-2024-51417 is classified under General Security Weakness.
How can I check NuGet dependencies for CVE-2024-51417?
Run the dependency tree command: 'inspect dependencies for System.Linq.Dynamic.Core'. 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-4cv2-4hjh-77rx",
  "modified" : "2025-01-27T18:47:05Z",
  "published" : "2025-01-21T21:30:53Z",
  "aliases" : [ "CVE-2024-51417" ],
  "summary" : "Property reflection in System.Linq.Dynamic.Core",
  "details" : "An issue in System.Linq.Dynamic.Core versions before v.1.6.0 allow remote access to properties on reflection types and static properties/fields.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "System.Linq.Dynamic.Core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.6.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-51417"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/zzzprojects/System.Linq.Dynamic.Core/issues/867"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/zzzprojects/System.Linq.Dynamic.Core/commit/49b6cf0909cf3571e0d3580317675408300dbdac"
  }, {
    "type" : "WEB",
    "url" : "https://dynamic-linq.net/expression-language#operators"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/zzzprojects/System.Linq.Dynamic.Core"
  }, {
    "type" : "WEB",
    "url" : "https://zzzprojects.com"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-01-21T22:47:39Z",
    "nvd_published_at" : "2025-01-21T19:15:10Z"
  }
}