Lookup for vulnerabilities affecting packages.

GET /api/vulnerabilities/278777?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/278777?format=api",
    "vulnerability_id": "VCID-r2zf-yxr7-gke9",
    "summary": "Matrix iOS SDK allows developers to build iOS apps compatible with Matrix. Prior to version 0.23.19, an attacker cooperating with a malicious homeserver can construct messages that legitimately appear to have come from another person, without any indication such as a grey shield. Additionally, a sophisticated attacker cooperating with a malicious homeserver could employ this vulnerability to perform a targeted attack in order to send fake to-device messages appearing to originate from another user. This can allow, for example, to inject the key backup secret during a self-verification, to make a targeted device start using a malicious key backup spoofed by the homeserver. These attacks are possible due to a protocol confusion vulnerability that accepts to-device messages encrypted with Megolm instead of Olm. matrix-ios-sdk version 0.23.19 has been modified to only accept Olm-encrypted to-device messages. Out of caution, several other checks have been audited or added. This attack requires coordination between a malicious home server and an attacker, so those who trust their home servers do not need a workaround. To avoid malicious backup attacks, one should not verify one's new logins using emoji/QR verifications methods until patched.",
    "aliases": [
        {
            "alias": "CVE-2022-39255"
        },
        {
            "alias": "GHSA-hw6g-j8v6-9hcm"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/261034?format=api",
            "purl": "pkg:maven/org.matrix.android/matrix-android-sdk2@1.2.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-dvrk-p9dt-y7h6"
                },
                {
                    "vulnerability": "VCID-mwm6-1d7e-mfev"
                },
                {
                    "vulnerability": "VCID-vx5q-mbn5-8kcf"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.matrix.android/matrix-android-sdk2@1.2.1"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/261033?format=api",
            "purl": "pkg:maven/org.matrix.android/matrix-android-sdk2@0.0.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-dvrk-p9dt-y7h6"
                },
                {
                    "vulnerability": "VCID-k87r-mnjz-tkc9"
                },
                {
                    "vulnerability": "VCID-mwm6-1d7e-mfev"
                },
                {
                    "vulnerability": "VCID-r2zf-yxr7-gke9"
                },
                {
                    "vulnerability": "VCID-vx5q-mbn5-8kcf"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.matrix.android/matrix-android-sdk2@0.0.2"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-39255",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00249",
                    "scoring_system": "epss",
                    "scoring_elements": "0.48051",
                    "published_at": "2026-05-12T12:55:00Z"
                },
                {
                    "value": "0.00249",
                    "scoring_system": "epss",
                    "scoring_elements": "0.48101",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00249",
                    "scoring_system": "epss",
                    "scoring_elements": "0.4813",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.00249",
                    "scoring_system": "epss",
                    "scoring_elements": "0.4811",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.00249",
                    "scoring_system": "epss",
                    "scoring_elements": "0.48121",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.00249",
                    "scoring_system": "epss",
                    "scoring_elements": "0.48066",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.00249",
                    "scoring_system": "epss",
                    "scoring_elements": "0.47987",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.00249",
                    "scoring_system": "epss",
                    "scoring_elements": "0.48053",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.00249",
                    "scoring_system": "epss",
                    "scoring_elements": "0.48076",
                    "published_at": "2026-05-09T12:55:00Z"
                },
                {
                    "value": "0.00249",
                    "scoring_system": "epss",
                    "scoring_elements": "0.48022",
                    "published_at": "2026-05-11T12:55:00Z"
                },
                {
                    "value": "0.00249",
                    "scoring_system": "epss",
                    "scoring_elements": "0.48122",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00249",
                    "scoring_system": "epss",
                    "scoring_elements": "0.48072",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00249",
                    "scoring_system": "epss",
                    "scoring_elements": "0.48125",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00249",
                    "scoring_system": "epss",
                    "scoring_elements": "0.4812",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00249",
                    "scoring_system": "epss",
                    "scoring_elements": "0.48143",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00249",
                    "scoring_system": "epss",
                    "scoring_elements": "0.48116",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00249",
                    "scoring_system": "epss",
                    "scoring_elements": "0.48127",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00249",
                    "scoring_system": "epss",
                    "scoring_elements": "0.4818",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00249",
                    "scoring_system": "epss",
                    "scoring_elements": "0.48175",
                    "published_at": "2026-04-18T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-39255"
        },
        {
            "reference_url": "https://matrix.org/blog/2022/09/28/upgrade-now-to-address-encryption-vulns-in-matrix-sdks-and-clients",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.6",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2025-04-23T15:50:43Z/"
                }
            ],
            "url": "https://matrix.org/blog/2022/09/28/upgrade-now-to-address-encryption-vulns-in-matrix-sdks-and-clients"
        },
        {
            "reference_url": "https://github.com/matrix-org/matrix-ios-sdk/commit/5ca86c328a5faaab429c240551cb9ca8f0f6262c",
            "reference_id": "5ca86c328a5faaab429c240551cb9ca8f0f6262c",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.6",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2025-04-23T15:50:43Z/"
                }
            ],
            "url": "https://github.com/matrix-org/matrix-ios-sdk/commit/5ca86c328a5faaab429c240551cb9ca8f0f6262c"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-39255",
            "reference_id": "CVE-2022-39255",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-39255"
        },
        {
            "reference_url": "https://github.com/matrix-org/matrix-ios-sdk/security/advisories/GHSA-hw6g-j8v6-9hcm",
            "reference_id": "GHSA-hw6g-j8v6-9hcm",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.6",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2025-04-23T15:50:43Z/"
                }
            ],
            "url": "https://github.com/matrix-org/matrix-ios-sdk/security/advisories/GHSA-hw6g-j8v6-9hcm"
        },
        {
            "reference_url": "https://github.com/matrix-org/matrix-ios-sdk/releases/tag/v0.23.19",
            "reference_id": "v0.23.19",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.6",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2025-04-23T15:50:43Z/"
                }
            ],
            "url": "https://github.com/matrix-org/matrix-ios-sdk/releases/tag/v0.23.19"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 287,
            "name": "Improper Authentication",
            "description": "When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct."
        },
        {
            "cwe_id": 322,
            "name": "Key Exchange without Entity Authentication",
            "description": "The product performs a key exchange with an actor without verifying the identity of that actor."
        },
        {
            "cwe_id": 1035,
            "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."
        },
        {
            "cwe_id": 937,
            "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."
        }
    ],
    "exploits": [],
    "severity_range_score": "8.6 - 8.6",
    "exploitability": "0.5",
    "weighted_severity": "7.7",
    "risk_score": 3.9,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-r2zf-yxr7-gke9"
}