Vulnerabilities in pkg:pypi/ni-measurementlink-service
PACKAGECVE-2023-4570 is a HIGH (CVSS 8.8) ni measurementlink python services improper vulnerability (CWE-420: Unprotected Alternate Channel) affecting Ni measurementlink service libraries in the PyPI ecosystem. The issue involves ni measurementlink python services improper access restriction vulnerability. Remediation is available by upgrading affected packages to version 1.1.1, 1.2.0.
pkg:pypi/ni-measurementlink-service
Vulnerability advisories affecting package pkg:pypi/ni-measurementlink-service. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-3f48-9j7q-q2gv | CVE-2023-4570 | HIGH | NI MeasurementLink Python Services Improper Access Restriction vulnerability |
CVE-2023-4570 at a Glance
Security Impact
CVSS: 8.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2023-4570
To remediate this vulnerability, upgrade all affected Ni measurementlink service dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install ni-measurementlink-service>=1.1.1
pip install ni-measurementlink-service>=1.2.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show ni-measurementlink-service
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2023-4570, inspect your installed packages using pip:
pip show ni-measurementlink-service
Analyze the terminal output to locate any version of Ni measurementlink service in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.1.1), your application is affected.
Note: The pip show ni-measurementlink-service command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-420: Unprotected Alternate Channel, where the product protects a primary channel, but it does not use the same level of protection for an alternate channel. In Ni measurementlink service, 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-4570 Affected Ni measurementlink service Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
ni-measurementlink-service
|
PyPI |
< 1.1.1
|
1.1.1
|
|
ni-measurementlink-service
|
PyPI |
≥ 1.2.0.dev0
< 1.2.0
|
1.2.0
|
References
Frequently Asked Questions
What is CVE-2023-4570?
Which Ni measurementlink service versions are affected?
What version fixes CVE-2023-4570?
Is ni-measurementlink-service affected?
What is the CVSS score of CVE-2023-4570?
What CWE is associated with CVE-2023-4570?
How can I check PyPI dependencies for CVE-2023-4570?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-3f48-9j7q-q2gv",
"modified" : "2023-10-05T20:56:37Z",
"published" : "2023-10-05T20:56:37Z",
"aliases" : [ "CVE-2023-4570" ],
"summary" : "NI MeasurementLink Python Services Improper Access Restriction vulnerability",
"details" : "### Impact\nAn improper access restriction in NI MeasurementLink Python services could allow an attacker on an adjacent network to reach services exposed on localhost. These services were previously thought to be unreachable outside of the node. This affects measurement plug-ins written in Python using version 1.1.0 of the `ni-measurementlink-service` Python package and all previous versions.\n\n### Patches\nUpgrade all Python measurement plug-ins to use `ni-measurementlink-service` version 1.1.1 or later.\n\n### References\nVisit [ni.com/info](http://www.ni.com/info) and enter the info code `cve-2023-4570` for more information.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "ni-measurementlink-service"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.1.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "ni-measurementlink-service"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.2.0.dev0"
}, {
"fixed" : "1.2.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/ni/measurementlink-python/security/advisories/GHSA-3f48-9j7q-q2gv"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-4570"
}, {
"type" : "WEB",
"url" : "https://github.com/ni/measurementlink-python/commit/3e9d45147befc9a151fca5582c64fa77c7ba1980"
}, {
"type" : "WEB",
"url" : "https://github.com/ni/measurementlink-python/commit/d2c73b1e0252081e1b89767aa916d73772d04dd9"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/ni/measurementlink-python"
}, {
"type" : "WEB",
"url" : "https://www.ni.com/en/support/documentation/supplemental/23/improper-restriction-in-ni-measurementlink-python-services.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-420" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-10-05T20:56:37Z",
"nvd_published_at" : "2023-10-05T16:15:12Z"
}
}