[Python.NET] Re: Support for Python v3.9

Mark Visser <[email protected]> Thu, 13 May 2021 13:14:53 -0400
Newsgroups gmane.comp.python.dotnet
Message-ID <[email protected]>
--===============8514953502962619987==
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_85FDA2B3-FDAD-4D9B-B84E-F0E8F959F88E"


--Apple-Mail=_85FDA2B3-FDAD-4D9B-B84E-F0E8F959F88E
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Hi Douglas,

It looks to me like this was fixed in Python 3.6, 3.7, 3.8 and 3.9:

=46rom =
https://python-security.readthedocs.io/vuln/cjk-codec-download-eval.html: =
<https://python-security.readthedocs.io/vuln/cjk-codec-download-eval.html:=
>

Fixed In =
<https://python-security.readthedocs.io/vuln/cjk-codec-download-eval.html#=
fixed-in>
Python 3.6.13 (2021-02-16) fixed by commit e912e94 (branch 3.6) =
<https://github.com/python/cpython/commit/e912e945f2960029d039d3390ea08835=
ad39374b> (2020-10-20)
Python 3.7.10 (2021-02-16) fixed by commit 43e5231 (branch 3.7) =
<https://github.com/python/cpython/commit/43e523103886af66d6c27cd72431b5d9=
d14cd2a9> (2020-10-20)
Python 3.8.7 (2020-12-21) fixed by commit 6c6c256 (branch 3.8) =
<https://github.com/python/cpython/commit/6c6c256df3636ff6f6136820afaefa5a=
10a3ac33> (2020-10-06)
Python 3.9.1 (2020-12-07) fixed by commit b664a1d (branch 3.9) =
<https://github.com/python/cpython/commit/b664a1df4ee71d3760ab937653b10997=
081b1794> (2020-10-06)
So you should be able to address the CVE by upgrading to one of these =
patch versions. AFAIK we don't have a timeline for 3.9 support in Python =
for .NET yet.

cheers,
-Mark

Mark Visser
Senior Dev Manager, M&E
Unity Technologies - www.unity3d.com <http://www.unity3d.com/>






> On May 12, 2021, at 12:43 PM, Douglas Wyant (Aptly Technology =
Corporation) via PythonNet <[email protected]> wrote:
>=20
> PythonNet,
>                 Hi folks, I have no idea if this is the correct way to =
engage support / ask questions, so please redirect me.  We need to =
deploy Python v3.9 to resolve a known Security issue in older versions.  =
I=E2=80=99m told we=E2=80=99re blocked on deploying until PythonNet is =
updated to support v3.9.  So the question is when might that be?
> =20
> https://bugs.python.org/issue41944 =
<https://bugs.python.org/issue41944>
> CVE-2020-27619: WIndows
> Python versions 3.0.0 through 3.9.0 are susceptible to a vulnerability =
which when successfully exploited could lead to disclosure of sensitive =
information, addition or modification of data, or Denial of Service =
(DoS).
> Affected Versions=20
> Python versions 3.0.0 through 3.9.0=20
> =20
> Thanks,
> =20
> Doug Wyant (Aptly Technology Corporation), GSEC, GCIH
> Service Engineer 2
> Microsoft
> _______________________________________________
> PythonNet mailing list -- [email protected] =
<mailto:[email protected]>
> To unsubscribe send an email to [email protected] =
<mailto:[email protected]>
> https://mail.python.org/mailman3/lists/pythonnet.python.org/ =
<https://mail.python.org/mailman3/lists/pythonnet.python.org/>
> Member address: [email protected] <mailto:[email protected]>

--Apple-Mail=_85FDA2B3-FDAD-4D9B-B84E-F0E8F959F88E
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" class=3D"">Hi =
Douglas,<div class=3D""><br class=3D""></div><div class=3D"">It looks to =
me like this was fixed in Python 3.6, 3.7, 3.8 <b =
class=3D"">and</b>&nbsp;3.9:</div><div class=3D""><br =
class=3D""></div><div class=3D"">=46rom <a =
href=3D"https://python-security.readthedocs.io/vuln/cjk-codec-download-eva=
l.html:" =
class=3D"">https://python-security.readthedocs.io/vuln/cjk-codec-download-=
eval.html:</a></div><div class=3D""><h2 style=3D"box-sizing: border-box; =
margin-top: 0px; font-family: &quot;Roboto Slab&quot;, ff-tisa-web-pro, =
Georgia, Arial, sans-serif; font-size: 24px; caret-color: rgb(64, 64, =
64); color: rgb(64, 64, 64);" class=3D""><br class=3D""></h2><h2 =
style=3D"box-sizing: border-box; margin-top: 0px; font-family: =
&quot;Roboto Slab&quot;, ff-tisa-web-pro, Georgia, Arial, sans-serif; =
font-size: 24px; caret-color: rgb(64, 64, 64); color: rgb(64, 64, 64);" =
class=3D"">Fixed In<a class=3D"headerlink" =
href=3D"https://python-security.readthedocs.io/vuln/cjk-codec-download-eva=
l.html#fixed-in" title=3D"Permalink to this headline" style=3D"box-sizing:=
 border-box; color: rgb(155, 89, 182); text-decoration: none; cursor: =
pointer; display: inline-block; font-weight: normal; font-stretch: =
normal; line-height: 1; font-family: inherit; font-size: 14px; =
text-rendering: auto; -webkit-font-smoothing: antialiased; visibility: =
hidden;"></a></h2><ul class=3D"simple" style=3D"box-sizing: border-box; =
margin: 0px 0px 24px; padding: 0px; list-style-position: initial; =
list-style-image: initial; line-height: 24px; caret-color: rgb(64, 64, =
64); color: rgb(64, 64, 64); font-family: Lato, proxima-nova, =
&quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px;"><li =
style=3D"box-sizing: border-box; list-style: disc; margin-left: 24px;" =
class=3D"">Python&nbsp;<strong style=3D"box-sizing: border-box;" =
class=3D"">3.6.13</strong>&nbsp;(2021-02-16) fixed by&nbsp;<a =
class=3D"external reference" =
href=3D"https://github.com/python/cpython/commit/e912e945f2960029d039d3390=
ea08835ad39374b" style=3D"box-sizing: border-box; color: rgb(155, 89, =
182); text-decoration: none; cursor: pointer;">commit e912e94 (branch =
3.6)</a>&nbsp;(2020-10-20)</li><li style=3D"box-sizing: border-box; =
list-style: disc; margin-left: 24px;" class=3D"">Python&nbsp;<strong =
style=3D"box-sizing: border-box;" =
class=3D"">3.7.10</strong>&nbsp;(2021-02-16) fixed by&nbsp;<a =
class=3D"external reference" =
href=3D"https://github.com/python/cpython/commit/43e523103886af66d6c27cd72=
431b5d9d14cd2a9" style=3D"box-sizing: border-box; color: rgb(155, 89, =
182); text-decoration: none; cursor: pointer;">commit 43e5231 (branch =
3.7)</a>&nbsp;(2020-10-20)</li><li style=3D"box-sizing: border-box; =
list-style: disc; margin-left: 24px;" class=3D"">Python&nbsp;<strong =
style=3D"box-sizing: border-box;" =
class=3D"">3.8.7</strong>&nbsp;(2020-12-21) fixed by&nbsp;<a =
class=3D"external reference" =
href=3D"https://github.com/python/cpython/commit/6c6c256df3636ff6f6136820a=
faefa5a10a3ac33" style=3D"box-sizing: border-box; color: rgb(155, 89, =
182); text-decoration: none; cursor: pointer;">commit 6c6c256 (branch =
3.8)</a>&nbsp;(2020-10-06)</li><li style=3D"box-sizing: border-box; =
list-style: disc; margin-left: 24px;" class=3D"">Python&nbsp;<strong =
style=3D"box-sizing: border-box;" =
class=3D"">3.9.1</strong>&nbsp;(2020-12-07) fixed by&nbsp;<a =
class=3D"external reference" =
href=3D"https://github.com/python/cpython/commit/b664a1df4ee71d3760ab93765=
3b10997081b1794" style=3D"box-sizing: border-box; color: rgb(155, 89, =
182); text-decoration: none; cursor: pointer;">commit b664a1d (branch =
3.9)</a>&nbsp;(2020-10-06)</li></ul><div class=3D"">So you should be =
able to address the CVE by upgrading to one of these patch versions. =
AFAIK we don't have a timeline for 3.9 support in Python for .NET =
yet.</div></div><div class=3D""><br class=3D""></div><div =
class=3D"">cheers,</div><div class=3D"">-Mark</div><div class=3D""><br =
class=3D""><div class=3D"">
<div dir=3D"auto" style=3D"caret-color: rgb(0, 0, 0); color: rgb(0, 0, =
0); letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: =
break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" =
class=3D""><div dir=3D"auto" style=3D"caret-color: rgb(0, 0, 0); color: =
rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: =
0px; text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: =
break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" =
class=3D""><div style=3D"color: rgb(0, 0, 0); letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: =
break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" =
class=3D""><div style=3D"color: rgb(0, 0, 0); letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: =
break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" =
class=3D""><div style=3D"color: rgb(0, 0, 0); letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: =
break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" =
class=3D""><div class=3D"">Mark Visser<div class=3D""><i class=3D"">Senior=
 Dev Manager, M&amp;E</i><br class=3D""><div class=3D""><b =
class=3D"">Unity Technologies</b>&nbsp;-&nbsp;<a =
href=3D"http://www.unity3d.com/" target=3D"_blank" style=3D"color: =
rgb(17, 85, 204);" class=3D"">www.unity3d.com</a><br =
class=3D""></div></div></div><div class=3D""><br =
class=3D""></div></div></div></div><br =
class=3D"Apple-interchange-newline"></div><br =
class=3D"Apple-interchange-newline"></div><br =
class=3D"Apple-interchange-newline"><br =
class=3D"Apple-interchange-newline">
</div>
<div><br class=3D""><blockquote type=3D"cite" class=3D""><div =
class=3D"">On May 12, 2021, at 12:43 PM, Douglas Wyant (Aptly Technology =
Corporation) via PythonNet &lt;<a href=3D"mailto:[email protected]" =
class=3D"">[email protected]</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><div =
class=3D"WordSection1" style=3D"page: WordSection1; caret-color: rgb(0, =
0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;"><div style=3D"margin: 0in; font-size: 11pt; =
font-family: Calibri, sans-serif;" class=3D"">PythonNet,<o:p =
class=3D""></o:p></div><div style=3D"margin: 0in; font-size: 11pt; =
font-family: Calibri, sans-serif;" =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp; Hi folks, I have no idea if this is the =
correct way to engage support / ask questions, so please redirect =
me.&nbsp; We need to deploy Python v3.9 to resolve a known Security =
issue in older versions. &nbsp;I=E2=80=99m told we=E2=80=99re blocked on =
deploying until PythonNet is updated to support v3.9.&nbsp; So the =
question is when might that be?<o:p class=3D""></o:p></div><div =
style=3D"margin: 0in; font-size: 11pt; font-family: Calibri, =
sans-serif;" class=3D""><o:p class=3D"">&nbsp;</o:p></div><div =
style=3D"margin: 0in; font-size: 11pt; font-family: Calibri, =
sans-serif;" class=3D""><a href=3D"https://bugs.python.org/issue41944" =
style=3D"color: rgb(5, 99, 193); text-decoration: underline;" =
class=3D"">https://bugs.python.org/issue41944</a><o:p =
class=3D""></o:p></div><div style=3D"margin: 0in; font-size: 11pt; =
font-family: Calibri, sans-serif;" class=3D"">CVE-2020-27619: =
WIndows<o:p class=3D""></o:p></div><div style=3D"margin: 0in; font-size: =
11pt; font-family: Calibri, sans-serif;" class=3D"">Python versions =
3.0.0 through 3.9.0 are susceptible to a vulnerability which when =
successfully exploited could lead to disclosure of sensitive =
information, addition or modification of data, or Denial of Service =
(DoS).<o:p class=3D""></o:p></div><div style=3D"margin: 0in; font-size: =
11pt; font-family: Calibri, sans-serif;" class=3D"">Affected =
Versions<span class=3D"Apple-converted-space">&nbsp;</span><o:p =
class=3D""></o:p></div><div style=3D"margin: 0in; font-size: 11pt; =
font-family: Calibri, sans-serif;" class=3D"">Python versions 3.0.0 =
through 3.9.0<span class=3D"Apple-converted-space">&nbsp;</span><o:p =
class=3D""></o:p></div><div style=3D"margin: 0in; font-size: 11pt; =
font-family: Calibri, sans-serif;" class=3D""><o:p =
class=3D"">&nbsp;</o:p></div><div style=3D"margin: 0in; font-size: 11pt; =
font-family: Calibri, sans-serif;" class=3D"">Thanks,<o:p =
class=3D""></o:p></div><div style=3D"margin: 0in; font-size: 11pt; =
font-family: Calibri, sans-serif;" class=3D""><o:p =
class=3D"">&nbsp;</o:p></div><div style=3D"margin: 0in; font-size: 11pt; =
font-family: Calibri, sans-serif;" class=3D"">Doug Wyant (Aptly =
Technology Corporation), GSEC, GCIH<o:p class=3D""></o:p></div><div =
style=3D"margin: 0in; font-size: 11pt; font-family: Calibri, =
sans-serif;" class=3D"">Service Engineer 2<o:p class=3D""></o:p></div><div=
 style=3D"margin: 0in; font-size: 11pt; font-family: Calibri, =
sans-serif;" class=3D"">Microsoft<o:p class=3D""></o:p></div></div><span =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; float: none; =
display: inline !important;" =
class=3D"">_______________________________________________</span><br =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none;" class=3D""><span =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; float: none; =
display: inline !important;" class=3D"">PythonNet mailing list --<span =
class=3D"Apple-converted-space">&nbsp;</span></span><a =
href=3D"mailto:[email protected]" style=3D"color: rgb(5, 99, 193); =
text-decoration: underline; font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant-caps: normal; font-weight: normal; =
letter-spacing: normal; orphans: auto; text-align: start; text-indent: =
0px; text-transform: none; white-space: normal; widows: auto; =
word-spacing: 0px; -webkit-text-size-adjust: auto; =
-webkit-text-stroke-width: 0px;" class=3D"">[email protected]</a><br =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none;" class=3D""><span =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; float: none; =
display: inline !important;" class=3D"">To unsubscribe send an email =
to<span class=3D"Apple-converted-space">&nbsp;</span></span><a =
href=3D"mailto:[email protected]" style=3D"color: rgb(5, 99, =
193); text-decoration: underline; font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; orphans: auto; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; widows: =
auto; word-spacing: 0px; -webkit-text-size-adjust: auto; =
-webkit-text-stroke-width: 0px;" =
class=3D"">[email protected]</a><br style=3D"caret-color: =
rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: =
normal; font-variant-caps: normal; font-weight: normal; letter-spacing: =
normal; text-align: start; text-indent: 0px; text-transform: none; =
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D""><a =
href=3D"https://mail.python.org/mailman3/lists/pythonnet.python.org/" =
style=3D"color: rgb(5, 99, 193); text-decoration: underline; =
font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" =
class=3D"">https://mail.python.org/mailman3/lists/pythonnet.python.org/</a=
><br style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant-caps: normal; =
font-weight: normal; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none;" class=3D""><span style=3D"caret-color: rgb(0, 0, 0); font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none; float: none; display: inline !important;" class=3D"">Member =
address:<span class=3D"Apple-converted-space">&nbsp;</span></span><a =
href=3D"mailto:[email protected]" style=3D"color: rgb(5, 99, 193); =
text-decoration: underline; font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant-caps: normal; font-weight: normal; =
letter-spacing: normal; orphans: auto; text-align: start; text-indent: =
0px; text-transform: none; white-space: normal; widows: auto; =
word-spacing: 0px; -webkit-text-size-adjust: auto; =
-webkit-text-stroke-width: 0px;" =
class=3D"">[email protected]</a></div></blockquote></div><br =
class=3D""></div></body></html>=

--Apple-Mail=_85FDA2B3-FDAD-4D9B-B84E-F0E8F959F88E--

--===============8514953502962619987==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
PythonNet mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/pythonnet.python.org/
Member address: [email protected]

--===============8514953502962619987==--