Vulnerabilities in pkg:pypi/nnabla
PACKAGECVE-2019-10844 is a CRITICAL (CVSS 9.8) sony neural network libraries reliance vulnerability (CWE-807: Reliance on Untrusted Inputs in a Security Decision) affecting Nnabla libraries in the PyPI ecosystem. The issue involves sony neural network libraries reliance on untrusted inputs prior to v1.0.10. Remediation is available by upgrading affected packages to version 1.0.10.
pkg:pypi/nnabla
Vulnerability advisories affecting package pkg:pypi/nnabla. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-4q2w-rw7m-xqw6 | CVE-2019-10844 | CRITICAL | Sony Neural Network Libraries reliance on untrusted inputs prior to v1.0.10 |
CVE-2019-10844 at a Glance
Security Impact
CVSS: 9.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2019-10844
To remediate this vulnerability, upgrade all affected Nnabla 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 nnabla>=1.0.10
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show nnabla
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2019-10844, inspect your installed packages using pip:
pip show nnabla
Analyze the terminal output to locate any version of Nnabla in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.0.10), your application is affected.
Note: The pip show nnabla command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-807: Reliance on Untrusted Inputs in a Security Decision, where the product uses a protection mechanism that relies on the existence or values of an input, but the input can be modified by an untrusted actor in a way that bypasses the protection mechanism. In Nnabla, 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-2019-10844 Affected Nnabla Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
nnabla
|
PyPI |
< 1.0.10
|
1.0.10
|
References
Frequently Asked Questions
What is CVE-2019-10844?
Which Nnabla versions are affected?
What version fixes CVE-2019-10844?
Is nnabla affected?
What is the CVSS score of CVE-2019-10844?
What CWE is associated with CVE-2019-10844?
How can I check PyPI dependencies for CVE-2019-10844?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-4q2w-rw7m-xqw6",
"modified" : "2022-07-28T22:05:41Z",
"published" : "2022-05-13T01:07:57Z",
"aliases" : [ "CVE-2019-10844" ],
"summary" : "Sony Neural Network Libraries reliance on untrusted inputs prior to v1.0.10",
"details" : "nbla/logger.cpp in libnnabla.a in Sony Neural Network Libraries (aka nnabla) prior to v1.0.10 relies on the HOME environment variable, which might be untrusted.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "nnabla"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.0.10"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-10844"
}, {
"type" : "WEB",
"url" : "https://github.com/sony/nnabla/issues/209"
}, {
"type" : "WEB",
"url" : "https://github.com/sony/nnabla/pull/299"
}, {
"type" : "WEB",
"url" : "https://github.com/sony/nnabla/commit/e87347648ab7210529a0e60f0849680de8e9b63a"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-4q2w-rw7m-xqw6"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/nnabla/PYSEC-2019-107.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/sony/nnabla"
}, {
"type" : "WEB",
"url" : "https://github.com/sony/nnabla/releases/tag/v1.0.10"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-807" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2022-07-28T22:05:41Z",
"nvd_published_at" : "2019-04-04T05:29:00Z"
}
}