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 1449897 - OpenSSH doesn't ignore unknown SSH certificate extensions
Summary: OpenSSH doesn't ignore unknown SSH certificate extensions
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: openssh
Version: 7.5-Alt
Hardware: All
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Jakub Jelen
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-05-11 06:18 UTC by Stanislav Grozev
Modified: 2017-08-07 11:13 UTC (History)
0 users

Fixed In Version: openssh-7.4p1-8.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-07 11:13:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Stanislav Grozev 2017-05-11 06:18:05 UTC
Description of problem:

Per the upstream OpenSSH documentation, unknown certificate extensions should just print a warning and continue. The version in RHEL7 erroneously treats them the same as critical extensions - any unknown one is treated as fatal. This is an OpenSSH bug, that was fixed in https://anongit.mindrot.org/openssh.git/commit/?id=ca42c1758575e592239de1d5755140e054b91a0d

Version-Release number of selected component (if applicable):

Any RHEL7 version, even in the latest (openssh-6.6.1p1-35.el7_3)

How reproducible:

Steps to Reproduce:
1. Sign an SSH certificate containing a custom extension.
2. Try to log in with it.
3. See the sshd logs.

Actual results:

Login fails, due to a fatal error due to an unknown certificate extension.

Expected results:

Login succeeds, a warning about an unknown certificate extension is logged.

Additional info:

Same is present in RHEL6 (it was a bug introduced in the original OpenSSH code, that they have since fixed, see above). I'll open a RHEL6 bug as well.

Comment 2 Stanislav Grozev 2017-05-11 06:38:11 UTC
Here's the original OpenSSH bug report - https://bugzilla.mindrot.org/show_bug.cgi?id=2387


Note You need to log in before you can comment on or make changes to this bug.