Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 800638 (CVE-2021-36377) - <dev-vcs/fossil-2.16: Client-side TLS Doesn't Verify Hostname (CVE-2021-36377)
Summary: <dev-vcs/fossil-2.16: Client-side TLS Doesn't Verify Hostname (CVE-2021-36377)
Status: IN_PROGRESS
Alias: CVE-2021-36377
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
URL: https://fossil-scm.org/forum/forumpos...
Whiteboard: B4 [glsa?]
Keywords:
Depends on: 799764
Blocks:
  Show dependency tree
 
Reported: 2021-07-05 10:13 UTC by Aaron W. Swenson
Modified: 2021-07-17 16:39 UTC (History)
0 users

See Also:
Package list:
dev-vcs/fossil-2.16-r1
Runtime testing required: No
nattka: sanity-check+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron W. Swenson gentoo-dev 2021-07-05 10:13:11 UTC
From the Fossil Forums:
It has been discovered that the client-side TLS implementation in Fossil was often failing to verify that the hostname of the server matched the hostname contained in the TLS certificate. Hence, an "https" connection would always work as long as the server returned any valid certificate, even if that certificate did not match the hostname.
Comment 1 Larry the Git Cow gentoo-dev 2021-07-05 10:18:13 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=890a83ca5a2be8f7663757c937ccfe2b349d22fc

commit 890a83ca5a2be8f7663757c937ccfe2b349d22fc
Author:     Aaron W. Swenson <titanofold@gentoo.org>
AuthorDate: 2021-07-05 10:13:45 +0000
Commit:     Aaron W. Swenson <titanofold@gentoo.org>
CommitDate: 2021-07-05 10:13:45 +0000

    dev-vcs/fossil: Bump to 2.16
    
    Security: Fix the client-side TLS so that it verifies that the server hostname
    matches its certificate.
    
    Bug: https://bugs.gentoo.org/800638
    Signed-off-by: Aaron W. Swenson <titanofold@gentoo.org>

 dev-vcs/fossil/Manifest           |  1 +
 dev-vcs/fossil/fossil-2.16.ebuild | 75 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 76 insertions(+)
Comment 2 Aaron W. Swenson gentoo-dev 2021-07-05 10:23:23 UTC
Please stabilize the following target(s):
=dev-vcs/fossil-2.16 ~amd64 ~arm ~ppc ~ppc64 ~x86
Comment 3 NATTkA bot gentoo-dev 2021-07-05 10:28:21 UTC Comment hidden (obsolete)
Comment 4 John Helmert III gentoo-dev Security 2021-07-05 14:46:45 UTC
I guess we're blocked on sqlite stabilization for arm.
Comment 5 NATTkA bot gentoo-dev 2021-07-05 14:48:25 UTC Comment hidden (obsolete)
Comment 6 NATTkA bot gentoo-dev 2021-07-06 01:00:20 UTC Comment hidden (obsolete)
Comment 7 Aaron W. Swenson gentoo-dev 2021-07-06 01:04:20 UTC
Missed a couple fixes introduced in previous commits. use binding := for dev-libs/openssl in commit 12b8e1427c7b1b79a5f05f779c05f1c0dc1244d1 and fix BadDefaultUseFlags commit 74b6fd7b43d1233e481f394f3bacce23475de724.

So, please stabilize the following target(s):
=dev-vcs/fossil-2.16-r1 ~amd64 ~arm ~ppc ~ppc64 ~x86
Comment 8 NATTkA bot gentoo-dev 2021-07-06 01:08:22 UTC Comment hidden (obsolete)
Comment 9 Agostino Sarubbo gentoo-dev 2021-07-06 11:01:39 UTC
amd64 stable
Comment 10 Agostino Sarubbo gentoo-dev 2021-07-06 11:02:27 UTC
ppc stable
Comment 11 Agostino Sarubbo gentoo-dev 2021-07-06 11:03:07 UTC
ppc64 stable
Comment 12 Agostino Sarubbo gentoo-dev 2021-07-06 11:04:00 UTC
x86 stable
Comment 13 NATTkA bot gentoo-dev 2021-07-14 03:12:22 UTC Comment hidden (obsolete)
Comment 14 NATTkA bot gentoo-dev 2021-07-14 03:16:24 UTC
All sanity-check issues have been resolved
Comment 15 Sam James archtester gentoo-dev Security 2021-07-15 00:00:23 UTC
arm done

all arches done
Comment 16 Sam James archtester gentoo-dev Security 2021-07-15 03:26:04 UTC
Please cleanup, thanks!
Comment 17 Larry the Git Cow gentoo-dev 2021-07-17 15:07:55 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7624be2cf739bb836403346f4e690cb8f56be65a

commit 7624be2cf739bb836403346f4e690cb8f56be65a
Author:     Aaron W. Swenson <titanofold@gentoo.org>
AuthorDate: 2021-07-17 15:06:04 +0000
Commit:     Aaron W. Swenson <titanofold@gentoo.org>
CommitDate: 2021-07-17 15:06:04 +0000

    dev-vcs/fossil: Cleanup
    
    Bug: https://bugs.gentoo.org/800638
    Signed-off-by: Aaron W. Swenson <titanofold@gentoo.org>

 dev-vcs/fossil/Manifest                |  3 --
 dev-vcs/fossil/fossil-2.12.1-r1.ebuild | 71 ----------------------------------
 dev-vcs/fossil/fossil-2.13-r1.ebuild   | 71 ----------------------------------
 dev-vcs/fossil/fossil-2.14-r1.ebuild   | 71 ----------------------------------
 4 files changed, 216 deletions(-)