hasResourcePermission
java/org/apache/catalina/realm/RealmBase.java
Last patched
Overview
hasResourcePermission in java/org/apache/catalina/realm/RealmBase.java (apache/tomcat) was changed by 2 published CVE fixes between 2012 and 2017, in 2 distinct patches that added or removed 27 lines in total.
apache/tomcat has 143 CVEs with a located fix in total, so 1% of them touched this function.
CVEs that patched it
Every published CVE whose fix changed hasResourcePermission, newest first, with the lines each fix touched.
CVE-2016-0762 · line 979 · +1 −1
Medium · CVSS 5.9EPSS 8.0%2017-08-10CVE-2012-3546 · line 824 · +0 −25
Medium · CVSS 4.3EPSS 12.0%2012-12-19
Get an alert when the next CVE fix lands in apache/tomcat, with the patched functions.
Monitor these CVEsOther functions in these files
Functions in the same file that CVE fixes also changed.
- 1findSecurityConstraintsjava/org/apache/catalina/realm/RealmBase.java6 patches · 3 CVEs2026
- 2backgroundProcessjava/org/apache/catalina/realm/RealmBase.java4 patches · 2 CVEs2017 to 2018
- 3authenticatejava/org/apache/catalina/realm/RealmBase.java3 patches · 4 CVEs2012 to 2017
- 4getDigestjava/org/apache/catalina/realm/RealmBase.java3 patches · 2 CVEs2017 to 2026
- 5toStringjava/org/apache/catalina/realm/RealmBase.java3 patches · 2 CVEs2017 to 2026
- 6setStripRealmForGssjava/org/apache/catalina/realm/RealmBase.java2 patches · 1 CVE2026
- 7getObjectNameKeyPropertiesjava/org/apache/catalina/realm/RealmBase.java1 patch · 1 CVE2017
- 8getPrincipaljava/org/apache/catalina/realm/RealmBase.java1 patch · 1 CVE2017
Other hotspots in the repository
Functions in apache/tomcat changed by the most distinct patches.
Frequently asked questions
Common questions about CVE fixes to hasResourcePermission.
- How many CVEs have patched hasResourcePermission?
- 2 published CVEs changed hasResourcePermission in apache/tomcat, in 2 distinct patches totalling 27 changed lines, between 2012 and 2017.
- What is the latest CVE that changed hasResourcePermission?
- CVE-2016-0762 (Observable Discrepancy in Apache Tomcat), published 2017-08-10, changed lines 979 of java/org/apache/catalina/realm/RealmBase.java.
- How does hasResourcePermission compare to the rest of apache/tomcat?
- apache/tomcat has 143 CVEs with a located fix in total; 2 of them changed hasResourcePermission.
- What do the line numbers refer to?
- Line numbers are in the fixed version of the file, as the upstream patch left it. A CVE whose fix was backported to several branches is listed once, with the lines from the upstream commit.
References
- java/org/apache/catalina/realm/RealmBase.java on GitHub (opens in a new tab)
- All patched functions in apache/tomcat
- Patched functions directory
Fix locations are computed by RadicalNotion.AI from the upstream patch diff of each CVE. CVE data is sourced from the CVE Program.
Track apache/tomcat CVEs
Get an alert when a new CVE lands in this repository, with the patched functions and AI-written remediation guidance.