Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"In short, _N is Richardian if, and only if, _N is not Richardian."


computers / comp.os.vms / CVE-2022-21449 and Oracle products; Java, MySQL Connectors, databases, etc

SubjectAuthor
* CVE-2022-21449 and Oracle products; Java, MySQL Connectors, databases, etcStephen Hoffman
`* Re: CVE-2022-21449 and Oracle products; Java, MySQL Connectors,Arne Vajhøj
 `* Re: CVE-2022-21449 and Oracle products; Java, MySQL Connectors,Arne Vajhøj
  `* Re: CVE-2022-21449 and Oracle products; Java, MySQL Connectors,Arne Vajhøj
   `- Re: CVE-2022-21449 and Oracle products; Java, MySQL Connectors, databases, etcSimon Clubley

1
CVE-2022-21449 and Oracle products; Java, MySQL Connectors, databases, etc

<t3pjr6$qn3$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=22207&group=comp.os.vms#22207

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: seaoh...@hoffmanlabs.invalid (Stephen Hoffman)
Newsgroups: comp.os.vms
Subject: CVE-2022-21449 and Oracle products; Java, MySQL Connectors, databases, etc
Date: Wed, 20 Apr 2022 14:36:22 -0400
Organization: HoffmanLabs LLC
Lines: 23
Message-ID: <t3pjr6$qn3$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: reader02.eternal-september.org; posting-host="0bb0989edfab6e35008c17e40caece09";
logging-data="27363"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/vJkSjIpMmNkC9W6GjdjHN0FHrpEl9y3Q="
User-Agent: Unison/2.2
Cancel-Lock: sha1:+AdxxH9S177r3AMmGTFbnvDuhi0=
 by: Stephen Hoffman - Wed, 20 Apr 2022 18:36 UTC

Nasty ECDSA asymmetric cryptographic bug in Java.

Effects Java 15, 16, and 17, and 18, and a whole lot of dependent
products from Oracle and elsewhere.

The fix is reportedly included in the Oracle April 2022 critical update
for Java.

Seven other cryptographic flaws effecting Java 7, 8, and 11, and which
might (does?) mean that OpenVMS users of Java (VSI OpenJDK V8.0 u222,
HP/HPE Java JDK) are also vulnerable to remote exploitation.

https://www.oracle.com/security-alerts/cpuapr2022.html

Given what all has been happening in aggregate and more generally,
y'all really don't want to be down-revision on your critical patches.

--
Pure Personal Opinion | HoffmanLabs LLC

Re: CVE-2022-21449 and Oracle products; Java, MySQL Connectors, databases, etc

<62605aae$0$694$14726298@news.sunsite.dk>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=22208&group=comp.os.vms#22208

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Wed, 20 Apr 2022 15:10:33 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.8.1
Subject: Re: CVE-2022-21449 and Oracle products; Java, MySQL Connectors,
databases, etc
Content-Language: en-US
Newsgroups: comp.os.vms
References: <t3pjr6$qn3$1@dont-email.me>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <t3pjr6$qn3$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 51
Message-ID: <62605aae$0$694$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 068eb877.news.sunsite.dk
X-Trace: 1650481838 news.sunsite.dk 694 arne@vajhoej.dk/68.9.63.232:57472
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Wed, 20 Apr 2022 19:10 UTC

On 4/20/2022 2:36 PM, Stephen Hoffman wrote:
> Nasty ECDSA asymmetric cryptographic bug in Java.

CVE-2022-0778 is indeed a nasty bug - some bad data
during SSL handshake will cause an infinite loop.

But it is a bug in OpenSSL.

It does impact GraalVM but not the Java part - the node.js part
as it apparently use OpenSSL.

(GraalVM is a rather weird bundle of products)

> Effects Java 15, 16, and 17, and 18, and a whole lot of dependent
> products from Oracle and elsewhere.

No Java at all.

> Seven other cryptographic flaws effecting Java 7, 8, and 11, and which
> might (does?) mean that OpenVMS users of Java (VSI OpenJDK V8.0 u222,
> HP/HPE Java JDK) are also vulnerable to remote exploitation.
>
> https://www.oracle.com/security-alerts/cpuapr2022.html

A bunch of bugs CVE-2022-21449, CVE-2022-21476,
CVE-2022-21426, CVE-2022-21496, CVE-2022-21434 and CVE-2022-21443
impacts Java 7, 8, 11, 17 and 18. They may very likely also
impact 9, 10, 12, 13, 14, 15 and 16 - but those are non-LTS versions
are out of support. It also impacts the GraalVM versions that
use those Java versions.

There is every reason to believe that the problematic code
is also in VMS I64 Java 8.

But per the note at Oracle and the similar notes at Redhat then
all these CVE's relate to running untrusted code in a sandbox
(under security manager) - that means Java applets, Java Web Start
and similar custom solutions.

It are serious bugs as it allows the code to break out of the sandbox
and access files.

But my best guess is that zero VMS sites are using any of this.

> Given what all has been happening in aggregate and more generally, y'all
> really don't want to be down-revision on your critical patches.

That is always good advice.

Arne

Re: CVE-2022-21449 and Oracle products; Java, MySQL Connectors, databases, etc

<626140bd$0$695$14726298@news.sunsite.dk>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=22221&group=comp.os.vms#22221

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Thu, 21 Apr 2022 07:32:07 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.8.1
Subject: Re: CVE-2022-21449 and Oracle products; Java, MySQL Connectors,
databases, etc
Content-Language: en-US
Newsgroups: comp.os.vms
References: <t3pjr6$qn3$1@dont-email.me>
<62605aae$0$694$14726298@news.sunsite.dk>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <62605aae$0$694$14726298@news.sunsite.dk>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 39
Message-ID: <626140bd$0$695$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 973ba6dc.news.sunsite.dk
X-Trace: 1650540733 news.sunsite.dk 695 arne@vajhoej.dk/68.9.63.232:51431
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Thu, 21 Apr 2022 11:32 UTC

On 4/20/2022 3:10 PM, Arne Vajhøj wrote:
> On 4/20/2022 2:36 PM, Stephen Hoffman wrote:
>> Seven other cryptographic flaws effecting Java 7, 8, and 11, and which
>> might (does?) mean that OpenVMS users of Java (VSI OpenJDK V8.0 u222,
>> HP/HPE Java JDK) are also vulnerable to remote exploitation.
>>
>> https://www.oracle.com/security-alerts/cpuapr2022.html
>
> A bunch of bugs CVE-2022-21449, CVE-2022-21476,
> CVE-2022-21426, CVE-2022-21496, CVE-2022-21434 and CVE-2022-21443
> impacts Java 7, 8, 11, 17 and 18. They may very likely also
> impact 9, 10, 12, 13, 14, 15 and 16 - but those are non-LTS versions
> are out of support. It also impacts the GraalVM versions that
> use those Java versions.
>
> There is every reason to believe that the problematic code
> is also in VMS I64 Java 8.
>
> But per the note at Oracle and the similar notes at Redhat then
> all these CVE's relate to running untrusted code in a sandbox
> (under security manager) - that means Java applets, Java Web Start
> and similar custom solutions.
>
> It are serious bugs as it allows the code to break out of the sandbox
> and access files.
>
> But my best guess is that zero VMS sites are using any of this.

Two additions:

1) some sources say that CVE-2022-21449 is not limited to sandboxed
environments, so it could apply to typical VMS scenarios

2) some sources say that CVE-2022-21449 only applies to Java 15 and
newer (which is not available for VMS)

Arne

Re: CVE-2022-21449 and Oracle products; Java, MySQL Connectors, databases, etc

<6261f8f5$0$707$14726298@news.sunsite.dk>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=22228&group=comp.os.vms#22228

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Thu, 21 Apr 2022 20:38:12 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.8.1
Subject: Re: CVE-2022-21449 and Oracle products; Java, MySQL Connectors,
databases, etc
Content-Language: en-US
Newsgroups: comp.os.vms
References: <t3pjr6$qn3$1@dont-email.me>
<62605aae$0$694$14726298@news.sunsite.dk>
<626140bd$0$695$14726298@news.sunsite.dk>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <626140bd$0$695$14726298@news.sunsite.dk>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 60
Message-ID: <6261f8f5$0$707$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: c6d5c15f.news.sunsite.dk
X-Trace: 1650587893 news.sunsite.dk 707 arne@vajhoej.dk/68.9.63.232:55049
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Fri, 22 Apr 2022 00:38 UTC

On 4/21/2022 7:32 AM, Arne Vajhøj wrote:
> On 4/20/2022 3:10 PM, Arne Vajhøj wrote:
>> On 4/20/2022 2:36 PM, Stephen Hoffman wrote:
>>> Seven other cryptographic flaws effecting Java 7, 8, and 11, and
>>> which might (does?) mean that OpenVMS users of Java (VSI OpenJDK V8.0
>>> u222, HP/HPE Java JDK) are also vulnerable to remote exploitation.
>>>
>>> https://www.oracle.com/security-alerts/cpuapr2022.html
>>
>> A bunch of bugs CVE-2022-21449, CVE-2022-21476,
>> CVE-2022-21426, CVE-2022-21496, CVE-2022-21434 and CVE-2022-21443
>> impacts Java 7, 8, 11, 17 and 18. They may very likely also
>> impact 9, 10, 12, 13, 14, 15 and 16 - but those are non-LTS versions
>> are out of support. It also impacts the GraalVM versions that
>> use those Java versions.
>>
>> There is every reason to believe that the problematic code
>> is also in VMS I64 Java 8.
>>
>> But per the note at Oracle and the similar notes at Redhat then
>> all these CVE's relate to running untrusted code in a sandbox
>> (under security manager) - that means Java applets, Java Web Start
>> and similar custom solutions.
>>
>> It are serious bugs as it allows the code to break out of the sandbox
>> and access files.
>>
>> But my best guess is that zero VMS sites are using any of this.
>
> Two additions:
>
> 1) some sources say that CVE-2022-21449 is not limited to sandboxed
>    environments, so it could apply to typical VMS scenarios
>
> 2) some sources say that CVE-2022-21449 only applies to Java 15 and
>    newer (which is not available for VMS)

CVE-2022-21449 is totally crazy BTW:

<quote>
Madden’s bug nickname is therefore wittily chosen, given that the bug he
discovered allows an attacker to bypass a Java Elliptic Curve signature
check simply by presenting a memory buffer filled entirely with zeros.

You read that correctly: either you can generate a valid digital
signature by dutifully applying the necessary private key to the
calculation, or you can send across a bunch of zeros instead.
....
But, as Madden discovered, a totally blank “psychic signature”, if
presented to Java’s Elliptic Curve verification code, would be flagged
as valid when “verified” against any public key.

In other words, an attacker would need either to hack into your network
and steal your private keys in order to masquerade as you…

…or simply to present a blank signature to pass muster every time!
</quote>

Arne

Re: CVE-2022-21449 and Oracle products; Java, MySQL Connectors, databases, etc

<t3uq1i$9o9$3@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=22235&group=comp.os.vms#22235

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: CVE-2022-21449 and Oracle products; Java, MySQL Connectors, databases, etc
Date: Fri, 22 Apr 2022 17:52:50 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 33
Message-ID: <t3uq1i$9o9$3@dont-email.me>
References: <t3pjr6$qn3$1@dont-email.me> <62605aae$0$694$14726298@news.sunsite.dk> <626140bd$0$695$14726298@news.sunsite.dk> <6261f8f5$0$707$14726298@news.sunsite.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 22 Apr 2022 17:52:50 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="a8f2e296882710abd599585ed1f348d5";
logging-data="9993"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Xdo9JZRgDljiUeiDG5Jg+tzD9O3MXeG8="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:dUR+jE4VeRdwe4EV9ZXHdb0I2ZE=
 by: Simon Clubley - Fri, 22 Apr 2022 17:52 UTC

On 2022-04-21, Arne Vajhøj <arne@vajhoej.dk> wrote:
>
> CVE-2022-21449 is totally crazy BTW:
>
><quote>
> Madden?s bug nickname is therefore wittily chosen, given that the bug he
> discovered allows an attacker to bypass a Java Elliptic Curve signature
> check simply by presenting a memory buffer filled entirely with zeros.
>
> You read that correctly: either you can generate a valid digital
> signature by dutifully applying the necessary private key to the
> calculation, or you can send across a bunch of zeros instead.
> ...
> But, as Madden discovered, a totally blank ?psychic signature?, if
> presented to Java?s Elliptic Curve verification code, would be flagged
> as valid when ?verified? against any public key.
>
> In other words, an attacker would need either to hack into your network
> and steal your private keys in order to masquerade as you?
>
> ?or simply to present a blank signature to pass muster every time!
></quote>
>

It reminds me of this:

https://www.theregister.com/2017/05/05/intel_amt_remote_exploit/

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor