<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:23:26 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-50736] Make OpenSSL explicitly accept SNIs presented in ClientHello</title>
                <link>https://jira.mongodb.org/browse/SERVER-50736</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;It appears the OS X shell can provide Session IDs in its TLS 1.2 handshake, which enable session resumption. This might interact with the server&apos;s understanding of SNIs.&lt;/p&gt;

&lt;p&gt;OpenSSL&apos;s &lt;a href=&quot;https://github.com/mongodb/mongo/blob/30e0f2a2b33a9b87259ac4c8a9e19518e2b8e1a3/src/mongo/util/net/ssl/detail/impl/engine_openssl.ipp#L70&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;SSL_get_servername&lt;/a&gt; method extracts the SNI for us, and is defined by &lt;a href=&quot;https://www.openssl.org/docs/man1.1.1/man3/SSL_get_servername_type.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;the documentation&lt;/a&gt; to behave thus:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;On the server, after the servername extension has been processed and a TLSv1.2 (or below) resumption did not occur&lt;/p&gt;

&lt;p&gt;    The function will return the servername requested by the client in this handshake or NULL if none was requested.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;So, after accepting a connection attempt, SSL_get_servername will return the name the client requested. But later:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;On the server, after the servername extension has been processed and a TLSv1.2 (or below) resumption occurred&lt;/p&gt;

&lt;p&gt;    If a servername was accepted by the server in the original handshake then it will return that servername, or NULL otherwise.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;This means that OpenSSL ignores the second connection attempt&apos;s advertised SNI, in favor of the original... if the original connection&apos;s SNI was &quot;accepted&quot;. SNIs can be accepted in an application provided callback, which we don&apos;t set. We probably need to define a callback to accept the client&apos;s SNI, so that we consistently see an SNI across all connections, whether or not they are resumed.&lt;/p&gt;

&lt;p&gt;This can be done by using the SSL_CTX_set_tlsext_servername_callback function.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1461216">SERVER-50736</key>
            <summary>Make OpenSSL explicitly accept SNIs presented in ClientHello</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="13201">Fixed</resolution>
                                        <assignee username="spencer.jackson@mongodb.com">Spencer Jackson</assignee>
                                    <reporter username="spencer.jackson@mongodb.com">Spencer Jackson</reporter>
                        <labels>
                    </labels>
                <created>Wed, 2 Sep 2020 22:59:44 +0000</created>
                <updated>Sun, 29 Oct 2023 22:03:37 +0000</updated>
                            <resolved>Fri, 11 Sep 2020 17:27:34 +0000</resolved>
                                                    <fixVersion>4.8.0</fixVersion>
                    <fixVersion>4.4.2</fixVersion>
                    <fixVersion>4.2.11</fixVersion>
                    <fixVersion>4.0.21</fixVersion>
                    <fixVersion>3.6.21</fixVersion>
                                    <component>Networking</component>
                    <component>Security</component>
                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="3445225" author="xgen-internal-githook" created="Wed, 14 Oct 2020 21:36:15 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Spencer Jackson&apos;, &apos;email&apos;: &apos;spencer.jackson@mongodb.com&apos;, &apos;username&apos;: &apos;spencerjackson&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-50736&quot; title=&quot;Make OpenSSL explicitly accept SNIs presented in ClientHello&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-50736&quot;&gt;&lt;del&gt;SERVER-50736&lt;/del&gt;&lt;/a&gt; Make OpenSSL explicitly accept SNIs&lt;/p&gt;

&lt;p&gt;(cherry picked from commit a5f72d4b37ed92fa72d3a31e0af4266c9ef8d014)&lt;br/&gt;
(cherry picked from commit 8351c3e077e7578e7a9a2b20399829df0238cc3f)&lt;br/&gt;
(cherry picked from commit 9e252edecf6d934bbce6ae39638fc066f37120e6)&lt;br/&gt;
(cherry picked from commit ae595c7a7845271b88f6969dd2100435cdc760b7)&lt;br/&gt;
Branch: v3.6&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/d881b2b32dda7389e99efd40e4a96e34de082281&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/d881b2b32dda7389e99efd40e4a96e34de082281&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3419248" author="xgen-internal-githook" created="Wed, 30 Sep 2020 18:50:39 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Spencer Jackson&apos;, &apos;email&apos;: &apos;spencer.jackson@mongodb.com&apos;, &apos;username&apos;: &apos;spencerjackson&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-50736&quot; title=&quot;Make OpenSSL explicitly accept SNIs presented in ClientHello&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-50736&quot;&gt;&lt;del&gt;SERVER-50736&lt;/del&gt;&lt;/a&gt; Make OpenSSL explicitly accept SNIs&lt;/p&gt;

&lt;p&gt;(cherry picked from commit a5f72d4b37ed92fa72d3a31e0af4266c9ef8d014)&lt;br/&gt;
(cherry picked from commit 8351c3e077e7578e7a9a2b20399829df0238cc3f)&lt;br/&gt;
(cherry picked from commit 9e252edecf6d934bbce6ae39638fc066f37120e6)&lt;br/&gt;
Branch: v4.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/ae595c7a7845271b88f6969dd2100435cdc760b7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/ae595c7a7845271b88f6969dd2100435cdc760b7&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3418635" author="xgen-internal-githook" created="Wed, 30 Sep 2020 14:58:05 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Spencer Jackson&apos;, &apos;email&apos;: &apos;spencer.jackson@mongodb.com&apos;, &apos;username&apos;: &apos;spencerjackson&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-50736&quot; title=&quot;Make OpenSSL explicitly accept SNIs presented in ClientHello&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-50736&quot;&gt;&lt;del&gt;SERVER-50736&lt;/del&gt;&lt;/a&gt; Make OpenSSL explicitly accept SNIs&lt;/p&gt;

&lt;p&gt;(cherry picked from commit a5f72d4b37ed92fa72d3a31e0af4266c9ef8d014)&lt;br/&gt;
(cherry picked from commit 8351c3e077e7578e7a9a2b20399829df0238cc3f)&lt;br/&gt;
Branch: v4.2&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/9e252edecf6d934bbce6ae39638fc066f37120e6&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/9e252edecf6d934bbce6ae39638fc066f37120e6&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3399360" author="xgen-internal-githook" created="Thu, 17 Sep 2020 15:52:47 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Spencer Jackson&apos;, &apos;email&apos;: &apos;spencer.jackson@mongodb.com&apos;, &apos;username&apos;: &apos;spencerjackson&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-50736&quot; title=&quot;Make OpenSSL explicitly accept SNIs presented in ClientHello&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-50736&quot;&gt;&lt;del&gt;SERVER-50736&lt;/del&gt;&lt;/a&gt; Make OpenSSL explicitly accept SNIs&lt;/p&gt;

&lt;p&gt;(cherry picked from commit a5f72d4b37ed92fa72d3a31e0af4266c9ef8d014)&lt;br/&gt;
Branch: v4.4&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/32041ff125edcfd74d45b63db4ba19aa9840c62e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/32041ff125edcfd74d45b63db4ba19aa9840c62e&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3387438" author="xgen-internal-githook" created="Fri, 11 Sep 2020 15:28:40 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Spencer Jackson&apos;, &apos;email&apos;: &apos;spencer.jackson@mongodb.com&apos;, &apos;username&apos;: &apos;spencerjackson&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-50736&quot; title=&quot;Make OpenSSL explicitly accept SNIs presented in ClientHello&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-50736&quot;&gt;&lt;del&gt;SERVER-50736&lt;/del&gt;&lt;/a&gt; Make OpenSSL explicitly accept SNIs&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/a5f72d4b37ed92fa72d3a31e0af4266c9ef8d014&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/a5f72d4b37ed92fa72d3a31e0af4266c9ef8d014&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3380872" author="spencer.jackson@10gen.com" created="Tue, 8 Sep 2020 20:53:22 +0000"  >&lt;p&gt;Evgn: &lt;a href=&quot;https://evergreen.mongodb.com/version/5f57ed8456234342068ba1aa&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://evergreen.mongodb.com/version/5f57ed8456234342068ba1aa&lt;/a&gt;&lt;br/&gt;
CR: &lt;a href=&quot;https://mongodbcr.appspot.com/670330034/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://mongodbcr.appspot.com/670330034/&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="1448309">SERVER-50436</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_12450" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Backport Requested</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="20506"><![CDATA[v4.7]]></customfieldvalue>
    <customfieldvalue key="18953"><![CDATA[v4.4]]></customfieldvalue>
    <customfieldvalue key="16775"><![CDATA[v4.2]]></customfieldvalue>
    <customfieldvalue key="15640"><![CDATA[v4.0]]></customfieldvalue>
    <customfieldvalue key="15141"><![CDATA[v3.6]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 11 Sep 2020 15:28:40 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        3 years, 17 weeks ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_17050" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Downstream Team Attention</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16941"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            3 years, 17 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>spencer.jackson@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hy3msf:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hxq5bz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="4225">Security 2020-09-21</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hy391r:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>