Vulnerabilities in pkg:pypi/datasette-indieauth
PACKAGEGHSA-mjcr-rqjg-rhg3 is a CRITICAL implementation trusts the "me" field vulnerability (CWE-290: Authentication Bypass by Spoofing) affecting Datasette indieauth libraries in the PyPI ecosystem. The issue involves implementation trusts the "me" field returned by the authorization server without verifying it. Remediation is available by upgrading affected packages to version 1.1.
pkg:pypi/datasette-indieauth
Vulnerability advisories affecting package pkg:pypi/datasette-indieauth. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-mjcr-rqjg-rhg3 | - | CRITICAL | Implementation trusts the "me" field returned by the authorization server without verifying it |
GHSA-mjcr-rqjg-rhg3 at a Glance
How to Fix GHSA-mjcr-rqjg-rhg3
To remediate this vulnerability, upgrade all affected Datasette indieauth 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 datasette-indieauth>=1.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show datasette-indieauth
How to Check if You Are Affected
To determine whether your Python environment is affected by GHSA-mjcr-rqjg-rhg3, inspect your installed packages using pip:
pip show datasette-indieauth
Analyze the terminal output to locate any version of Datasette indieauth in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.1), your application is affected.
Note: The pip show datasette-indieauth command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-290: Authentication Bypass by Spoofing, where this attack-focused weakness is caused by incorrectly implemented authentication schemes that are subject to spoofing attacks. In Datasette indieauth, 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
GHSA-mjcr-rqjg-rhg3 Affected Datasette indieauth Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
datasette-indieauth
|
PyPI |
≥ 1.0
< 1.1
All 1 versions
1.0
|
1.1
|
References
Frequently Asked Questions
What is GHSA-mjcr-rqjg-rhg3?
Which Datasette indieauth versions are affected?
What version fixes GHSA-mjcr-rqjg-rhg3?
Is datasette-indieauth affected?
What CWE is associated with GHSA-mjcr-rqjg-rhg3?
How can I check PyPI dependencies for GHSA-mjcr-rqjg-rhg3?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-mjcr-rqjg-rhg3",
"modified" : "2022-03-21T20:04:49Z",
"published" : "2020-11-24T21:21:04Z",
"aliases" : [ ],
"summary" : "Implementation trusts the \"me\" field returned by the authorization server without verifying it",
"details" : "### Impact\n\nA malicious user can sign in as a user with any IndieAuth identifier. This is because the implementation does not verify that the final `\"me\"` URL value returned by the authorization server belongs to the same domain as the initial value entered by the user.\n\n### Patches\n\nVersion 1.1 fixes this issue.\n\n### Workarounds\n\nThere is no workaround. Upgrade to 1.1 immediately.\n\n### References\n\n- [Security Considerations: Differing User Profile URLs](https://indieauth.spec.indieweb.org/#differing-user-profile-urls-li-1) in the IndieAuth specification.\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n\n* Open an issue in [simonw/datasette-indieauth](https://github.com/simonw/datasette-indieauth/issues)",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "datasette-indieauth"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.0"
}, {
"fixed" : "1.1"
} ]
} ],
"versions" : [ "1.0" ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/simonw/datasette-indieauth/security/advisories/GHSA-mjcr-rqjg-rhg3"
}, {
"type" : "WEB",
"url" : "https://github.com/simonw/datasette-indieauth/commit/376c8804c6b0811852049229a24336fe5eb6a439"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/simonw/datasette-indieauth"
}, {
"type" : "WEB",
"url" : "https://pypi.org/project/datasette-indieauth"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-290" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2020-11-24T21:20:38Z",
"nvd_published_at" : null
}
}