Skip to content

Upgrade Apache Shiro to address CVEs#7009

Open
jhunzik wants to merge 2 commits into
codice:masterfrom
jhunzik:shiro-upgrade
Open

Upgrade Apache Shiro to address CVEs#7009
jhunzik wants to merge 2 commits into
codice:masterfrom
jhunzik:shiro-upgrade

Conversation

@jhunzik

@jhunzik jhunzik commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

Upgrades Shiro to a version without any known CVEs. Version 2 broke up Shiro into multiple dependencies and Apache provides a feature to handle their resolution.

Who is reviewing it?

Select relevant component teams:

Ask 2 committers to review/merge the PR and tag them here.

@jaymcnallie
@jrnorth

How should this be tested?

Any background context you want to provide?

What are the relevant tickets?

Fixes: #____

Screenshots

Checklist:

  • Documentation Updated
  • Update / Add Threat Dragon models
  • Update / Add Unit Tests
  • Update / Add Integration Tests

Notes on Review Process

Please see Notes on Review Process for further guidance on requirements for merging and abbreviated reviews.

Review Comment Legend:

  • ✏️ (Pencil) This comment is a nitpick or style suggestion, no action required for approval. This comment should provide a suggestion either as an in line code snippet or a gist.
  • ❓ (Question Mark) This comment is to gain a clearer understanding of design or code choices, clarification is required but action may not be necessary for approval.
  • ❗ (Exclamation Mark) This comment is critical and requires clarification or action before approval.

@CLAassistant

CLAassistant commented Jul 15, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

Upgrade from shiro-core bundle to shiro-core feature from Apache Shiro's
official Karaf feature repository. This fixes OSGi resolution errors where
shiro-core 2.2.1 requires the osgi.serviceloader.registrar extender and
shiro-lang bundle that were not previously included.

The official shiro-core feature properly handles all dependencies including:
- shiro-lang (base package)
- spifly (provides osgi.serviceloader.registrar extender)
- All other shiro-* modules in correct dependency order

Also adds shiro-features descriptor to karaf-maven-plugin configurations in
ddf-catalog and ddf distributions so the feature can be resolved at build time.
@jhunzik
jhunzik force-pushed the shiro-upgrade branch 3 times, most recently from 187f029 to 03b3a85 Compare July 15, 2026 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants