Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 2226942

Summary: vunerable Tomcat included in FreeIPA
Product: Red Hat Enterprise Linux 8 Reporter: Łukasz Posadowski <l.posadowski>
Component: pki-servlet-engineAssignee: Coty Sutherland <csutherl>
Status: CLOSED COMPLETED QA Contact: idm-cs-qe-bugs
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: ---CC: abokovoy, frenaud, rcritten, rhcs-maint, tscherf
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-07-27 14:02:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Łukasz Posadowski 2023-07-27 05:31:11 UTC
Description of problem:
FreeIPA on 

Version-Release number of selected component (if applicable):
ipa-server-4.9.11-6.module+el8.8.0+19022+e8902f4b.x86_64

How reproducible:
Always.

Steps to Reproduce:
1. Install ipa-server with included Tomcat web server in 9.0.40 version.
2. 
3.

Actual results:
Tomcat is outdated.

Expected results:
Tomcat is updated.

Additional info:

# rpm -qa | grep ipa
python3-iniparse-0.4-31.el8.noarch
sssd-ipa-2.8.2-2.el8.x86_64
ipa-healthcheck-0.12-1.module+el8.8.0+17582+6bf5bf91.noarch
ipa-common-4.9.11-6.module+el8.8.0+19022+e8902f4b.noarch
libipa_hbac-2.8.2-2.el8.x86_64
ipa-healthcheck-core-0.12-1.module+el8.8.0+17582+6bf5bf91.noarch
python3-libipa_hbac-2.8.2-2.el8.x86_64
python3-ipaserver-4.9.11-6.module+el8.8.0+19022+e8902f4b.noarch
ipa-server-dns-4.9.11-6.module+el8.8.0+19022+e8902f4b.noarch
ipa-server-common-4.9.11-6.module+el8.8.0+19022+e8902f4b.noarch
python3-ipaclient-4.9.11-6.module+el8.8.0+19022+e8902f4b.noarch
ipa-server-4.9.11-6.module+el8.8.0+19022+e8902f4b.x86_64
redhat-logos-ipa-84.5-1.el8.noarch
ipa-client-common-4.9.11-6.module+el8.8.0+19022+e8902f4b.noarch
python3-ipalib-4.9.11-6.module+el8.8.0+19022+e8902f4b.noarch
ipa-selinux-4.9.11-6.module+el8.8.0+19022+e8902f4b.noarch
ipa-client-4.9.11-6.module+el8.8.0+19022+e8902f4b.x86_64

Comment 1 Łukasz Posadowski 2023-07-27 05:45:29 UTC
If You have some test repository with a newer FreeIPA, of there is a way to update Tomcat without touching FreeIPA functionality, please let me know. I would be happy to test the changes.

Thank You.

Comment 2 Alexander Bokovoy 2023-07-27 06:50:28 UTC
'ipa' package does not provide tomcat at all. Moving this to 'tomcat' package.

You should also provide more substantial clarifications what do you mean by 'vunerable Tomcat included in FreeIPA'.

Comment 3 Florence Blanc-Renaud 2023-07-27 06:54:34 UTC
On RHEL 8.8, IPA has an indirect dependency on Tomcat and installs version 9.0.50:

# rpm -qa pki-servlet-engine
pki-servlet-engine-9.0.50-1.module+el8.7.0+15761+f86c9a56.noarch

Did you install IPA with idm module enable -y idm:DL1 && idm module install -y idm:DL1/server ? In this case you should have Tomcat 9.0.50, not 9.0.40.
See https://access.redhat.com/errata/RHSA-2022:7470 for more information.

Comment 4 Alexander Bokovoy 2023-07-27 06:58:17 UTC
Move to the right package (pki-servlet-engine, this is same as tomcat but the one provided by pki-deps module for RHEL IdM needs).

Comment 5 Łukasz Posadowski 2023-07-27 08:18:28 UTC
Wow. That was freaking *FAST*. Thank You for datailed explanation. We'll handle it from here. Thread can be closed.

Sorry for bothering You about basic stuff. It happens sometimes.

Comment 6 Coty Sutherland 2023-07-27 14:02:23 UTC
I'm happy to close this out. If you have other questions, please don't hesitate to let us know.

Comment 7 Red Hat Bugzilla 2023-11-25 04:25:10 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days