CVE-2023-33189: Github.com/pomerium/pomerium Pomerium Vulnerable To Incorrect Authorization Vulnerability
CRITICALCVE-2023-33189 is a CRITICAL (CVSS 10.0) pomerium vulnerable to incorrect authorization vulnerability (CWE-285: Improper Authorization) affecting Github.com/pomerium/pomerium libraries in the Go ecosystem. The issue involves pomerium vulnerable to incorrect authorization with specially crafted requests. Remediation is available by upgrading affected packages to version 0.22.2, 0.21.4, 0.20.1, 0.19.2, 0.18.1, 0.17.4.
CVE-2023-33189 at a Glance
Security Impact
CVSS: 10.0
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:C/C:H/I:H/A:N).
How to Fix CVE-2023-33189
To remediate this vulnerability, upgrade all affected Github.com/pomerium/pomerium dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/pomerium/pomerium to 0.22.2
Upgrade github.com/pomerium/pomerium to 0.21.4
Upgrade github.com/pomerium/pomerium to 0.20.1
Upgrade github.com/pomerium/pomerium to 0.19.2
Upgrade github.com/pomerium/pomerium to 0.18.1
Upgrade github.com/pomerium/pomerium to 0.17.4
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/pomerium/pomerium
How to Check if You Are Affected
To determine whether your application is affected by CVE-2023-33189, inspect your project dependencies for Github.com/pomerium/pomerium:
inspect dependencies for github.com/pomerium/pomerium
Analyze the terminal output to locate any version of Github.com/pomerium/pomerium in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.22.2), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-285: Improper Authorization, where the product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action. In Github.com/pomerium/pomerium, 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-2023-33189 Affected Github.com/pomerium/pomerium Versions
6 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/pomerium/pomerium
|
Go |
≥ 0.22.0
< 0.22.2
|
0.22.2
|
|
github.com/pomerium/pomerium
|
Go |
≥ 0.21.0
< 0.21.4
|
0.21.4
|
|
github.com/pomerium/pomerium
|
Go |
≥ 0.20.0
< 0.20.1
|
0.20.1
|
|
github.com/pomerium/pomerium
|
Go |
≥ 0.19.0
< 0.19.2
|
0.19.2
|
|
github.com/pomerium/pomerium
|
Go |
≥ 0.18.0
< 0.18.1
|
0.18.1
|
|
github.com/pomerium/pomerium
|
Go |
< 0.17.4
|
0.17.4
|
References
Frequently Asked Questions
What is CVE-2023-33189?
Which Github.com/pomerium/pomerium versions are affected?
What version fixes CVE-2023-33189?
Is github.com/pomerium/pomerium affected?
What is the CVSS score of CVE-2023-33189?
What CWE is associated with CVE-2023-33189?
How can I check Go dependencies for CVE-2023-33189?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-pvrc-wvj2-f59p",
"modified" : "2023-05-26T22:00:39Z",
"published" : "2023-05-26T22:00:39Z",
"aliases" : [ "CVE-2023-33189" ],
"summary" : "Pomerium vulnerable to Incorrect Authorization with specially crafted requests",
"details" : "### Impact\n\nWith specially crafted requests, incorrect authorization decisions may be made by Pomerium.\n\n### Patches\n\nWe are releasing patch fixes to address this vulnerability going back to `v0.17.X`. Please upgrade to:\n\n- v0.22.2\n- v0.21.4\n- v0.20.1\n- v0.19.2\n- v0.18.1\n- v0.17.4\n\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n\n- Open an issue in [pomerium/pomerium](https://github.com/pomerium/pomerium/issues)\n- Email us at [security@pomerium.com](mailto:security@pomerium.com)\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/pomerium/pomerium"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.22.0"
}, {
"fixed" : "0.22.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/pomerium/pomerium"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.21.0"
}, {
"fixed" : "0.21.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/pomerium/pomerium"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.20.0"
}, {
"fixed" : "0.20.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/pomerium/pomerium"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.19.0"
}, {
"fixed" : "0.19.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/pomerium/pomerium"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.18.0"
}, {
"fixed" : "0.18.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/pomerium/pomerium"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.17.4"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/pomerium/pomerium/security/advisories/GHSA-pvrc-wvj2-f59p"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-33189"
}, {
"type" : "WEB",
"url" : "https://github.com/pomerium/pomerium/commit/d315e683357a9b587ba9ef399a8813bcc52fdebb"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/pomerium/pomerium"
}, {
"type" : "WEB",
"url" : "https://github.com/pomerium/pomerium/releases/tag/v0.17.4"
}, {
"type" : "WEB",
"url" : "https://github.com/pomerium/pomerium/releases/tag/v0.18.1"
}, {
"type" : "WEB",
"url" : "https://github.com/pomerium/pomerium/releases/tag/v0.19.2"
}, {
"type" : "WEB",
"url" : "https://github.com/pomerium/pomerium/releases/tag/v0.20.1"
}, {
"type" : "WEB",
"url" : "https://github.com/pomerium/pomerium/releases/tag/v0.21.4"
}, {
"type" : "WEB",
"url" : "https://github.com/pomerium/pomerium/releases/tag/v0.22.2"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-285" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2023-05-26T22:00:39Z",
"nvd_published_at" : "2023-05-30T06:16:37Z"
}
}