GHSA-3whx-qrj5-hh2h

Suggest an improvement
Source
https://github.com/advisories/GHSA-3whx-qrj5-hh2h
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-3whx-qrj5-hh2h/GHSA-3whx-qrj5-hh2h.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-3whx-qrj5-hh2h
Aliases
Published
2022-02-02T00:01:52Z
Modified
2024-02-16T08:12:18.302698Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
Improper Input Validation in Apache Pulsar
Details

In Apache Pulsar it is possible to access data from BookKeeper that does not belong to the topics accessible by the authenticated user. The Admin API get-message-by-id requires the user to input a topic and a ledger id. The ledger id is a pointer to the data, and it is supposed to be a valid it for the topic. Authorisation controls are performed against the topic name and there is not proper validation the that ledger id is valid in the context of such ledger. So it may happen that the user is able to read from a ledger that contains data owned by another tenant. This issue affects Apache Pulsar Apache Pulsar version 2.8.0 and prior versions; Apache Pulsar version 2.7.3 and prior versions; Apache Pulsar version 2.6.4 and prior versions.

Database specific
{
    "nvd_published_at": "2022-02-01T13:15:00Z",
    "cwe_ids": [
        "CWE-20",
        "CWE-863"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2022-02-03T17:38:32Z"
}
References

Affected packages

Maven / org.apache.pulsar:pulsar

Package

Name
org.apache.pulsar:pulsar
View open source insights on deps.dev
Purl
pkg:maven/org.apache.pulsar/pulsar

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
2.6.4

Affected versions

1.*

1.19.0-incubating
1.20.0-incubating
1.21.0-incubating
1.22.0-incubating
1.22.1-incubating

2.*

2.0.0-rc1-incubating
2.0.1-incubating
2.1.0-incubating
2.1.1-incubating
2.2.0
2.2.1
2.3.0
2.3.1
2.3.2
2.4.0
2.4.1
2.4.2
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.6.2
2.6.3
2.6.4

Maven / org.apache.pulsar:pulsar

Package

Name
org.apache.pulsar:pulsar
View open source insights on deps.dev
Purl
pkg:maven/org.apache.pulsar/pulsar

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.7.0
Fixed
2.7.4

Affected versions

2.*

2.7.0
2.7.1
2.7.2
2.7.3

Database specific

{
    "last_known_affected_version_range": "<= 2.7.3"
}

Maven / org.apache.pulsar:pulsar

Package

Name
org.apache.pulsar:pulsar
View open source insights on deps.dev
Purl
pkg:maven/org.apache.pulsar/pulsar

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.8.0
Fixed
2.8.1

Affected versions

2.*

2.8.0