[JIRA] (OSJ-365) BasicX509Credential has a race condition around certificate access
Scott Cantor (Jira)
jira at shibboleth.atlassian.net
Mon Nov 14 15:10:48 UTC 2022
Scott Cantor ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A5b78efc9-1379-42cc-a3f6-56c6ea3a0007 ) *created* an issue
OpenSAML - Java ( https://shibboleth.atlassian.net/browse/OSJ?atlOrigin=eyJpIjoiMTE1MzgyYzc3NWUwNGIwNWI3MmI3MDgxZGVjMDEzZGUiLCJwIjoiaiJ9 ) / Bug ( https://shibboleth.atlassian.net/browse/OSJ-365?atlOrigin=eyJpIjoiMTE1MzgyYzc3NWUwNGIwNWI3MmI3MDgxZGVjMDEzZGUiLCJwIjoiaiJ9 ) OSJ-365 ( https://shibboleth.atlassian.net/browse/OSJ-365?atlOrigin=eyJpIjoiMTE1MzgyYzc3NWUwNGIwNWI3MmI3MDgxZGVjMDEzZGUiLCJwIjoiaiJ9 ) BasicX509Credential has a race condition around certificate access ( https://shibboleth.atlassian.net/browse/OSJ-365?atlOrigin=eyJpIjoiMTE1MzgyYzc3NWUwNGIwNWI3MmI3MDgxZGVjMDEzZGUiLCJwIjoiaiJ9 )
Issue Type: Bug Affects Versions: 4.0.0, 4.0.1, 4.1.0, 4.1.1, 4.2.0 Assignee: Brent Putman ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A97de0981-adc3-4044-95ed-131622fad81e ) Components: Security Created: 14/Nov/22 10:10 AM Fix Versions: 4.3.0 Priority: Trivial Reporter: Scott Cantor ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A5b78efc9-1379-42cc-a3f6-56c6ea3a0007 )
The BasicX509Credential does a delayed construction of the cert chain in the getEntityCertificateChain method, which is not thread safe since it’s not synchronized.
( https://shibboleth.atlassian.net/browse/OSJ-365#add-comment?atlOrigin=eyJpIjoiMTE1MzgyYzc3NWUwNGIwNWI3MmI3MDgxZGVjMDEzZGUiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/OSJ-365#add-comment?atlOrigin=eyJpIjoiMTE1MzgyYzc3NWUwNGIwNWI3MmI3MDgxZGVjMDEzZGUiLCJwIjoiaiJ9 )
Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100210- sha1:583150f )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20221114/95b58b5b/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-2e68457b-d7fb-4a2b-9112-e0b21c860ad8
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20221114/95b58b5b/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-trivial-cfe99441-880b-42ec-b8a7-54e0551f0633
Type: image/png
Size: 563 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20221114/95b58b5b/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-bbadc47d-3b56-4f9b-9777-afdc4aa2fcf7
Type: image/png
Size: 425 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20221114/95b58b5b/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-e31bc0b9-df56-4223-9b39-00ee7bbf1062
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20221114/95b58b5b/attachment-0007.png>
More information about the commits
mailing list