CVE-2019-25091: Nsupdate Nsupdate.info Has Sensitive Cookie Without Vulnerability
MODERATECVE-2019-25091 is a MODERATE (CVSS 5.3) nsupdate.info has sensitive cookie without vulnerability (CWE-1004: Sensitive Cookie Without 'HttpOnly' Flag) affecting Nsupdate libraries in the PyPI ecosystem. The issue involves nsupdate.info has sensitive cookie without 'httponly' flag. Remediation is available in the latest vendor maintenance releases.
CVE-2019-25091 at a Glance
Security Impact
CVSS: 5.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N).
How to Fix CVE-2019-25091
To remediate this vulnerability, upgrade all affected Nsupdate 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 nsupdate>=Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show nsupdate
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2019-25091, inspect your installed packages using pip:
pip show nsupdate
Analyze the terminal output to locate any version of Nsupdate in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The pip show nsupdate command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-1004: Sensitive Cookie Without 'HttpOnly' Flag, where the product uses a cookie to store sensitive information, but the cookie is not marked with the httponly flag. In Nsupdate, 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-25091 Affected Nsupdate Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
nsupdate
|
PyPI |
≤ 0.12.0
|
|
References
Frequently Asked Questions
What is CVE-2019-25091?
Which Nsupdate versions are affected?
What version fixes CVE-2019-25091?
Is nsupdate affected?
What is the CVSS score of CVE-2019-25091?
What CWE is associated with CVE-2019-25091?
How can I check PyPI dependencies for CVE-2019-25091?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-mwvp-qr62-cvjx",
"modified" : "2023-01-09T21:51:01Z",
"published" : "2022-12-28T00:30:22Z",
"aliases" : [ "CVE-2019-25091" ],
"summary" : "nsupdate.info has Sensitive Cookie Without 'HttpOnly' Flag",
"details" : "A vulnerability classified as problematic has been found in nsupdate.info. This affects an unknown part of the file `src/nsupdate/settings/base.py` of the component `CSRF Cookie Handler`. The manipulation of the argument `CSRF_COOKIE_HTTPONLY` leads to cookie without `httponly` flag. It is possible to initiate the attack remotely. The name of the patch is 60a3fe559c453bc36b0ec3e5dd39c1303640a59a. It is recommended to apply a patch to fix this issue. The identifier VDB-216909 was assigned to this vulnerability.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "nsupdate"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "0.12.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-25091"
}, {
"type" : "WEB",
"url" : "https://github.com/nsupdate-info/nsupdate.info/pull/410"
}, {
"type" : "WEB",
"url" : "https://github.com/nsupdate-info/nsupdate.info/commit/60a3fe559c453bc36b0ec3e5dd39c1303640a59a"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/nsupdate-info/nsupdate.info"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?ctiid.216909"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?id.216909"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1004" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-01-09T21:51:01Z",
"nvd_published_at" : "2022-12-27T23:15:00Z"
}
}