Bug 1195838 - (CVE-2022-23806) VUL-0: CVE-2022-23806: go1.17,go1.16: golang: crypto/elliptic IsOnCurve returns true for invalid field elements
(CVE-2022-23806)
VUL-0: CVE-2022-23806: go1.17,go1.16: golang: crypto/elliptic IsOnCurve retur...
Status: RESOLVED FIXED
Classification: Novell Products
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents
unspecified
Other Other
: P3 - Medium : Normal
: ---
Assigned To: Jeff Kowalczyk
Security Team bot
https://smash.suse.de/issue/323499/
CVSSv3.1:SUSE:CVE-2022-23806:7.5:(AV:...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2022-02-11 13:29 UTC by Gabriele Sonnu
Modified: 2022-12-05 14:54 UTC (History)
1 user (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gabriele Sonnu 2022-02-11 13:29:04 UTC
Some big.Int values that are not valid field elements (negative or overflowing) might cause Curve.IsOnCurve to incorrectly return true. Operating on those values may cause a panic or an invalid curve operation. Note that Unmarshal will never return such values.

Thanks to Guido Vranken for reporting this.

This is CVE-2022-23806 and https://github.com/golang/go/issues/50974.

References:
https://bugzilla.redhat.com/show_bug.cgi?id=2053429
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-23806
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-23806
https://groups.google.com/g/golang-announce/c/SUsQn0aSgPQ
Comment 1 Gabriele Sonnu 2022-02-11 13:52:41 UTC
This was fixed in Go versions 1.16.14 and 1.17.7. 

Upstream patches:

go1.16: 
https://github.com/golang/go/commit/6b3e741a834c34b8a844a33b3aa060dd4ed37231

go1.17:
https://github.com/golang/go/commit/e16331902340c02bdf1831b5508df2307b871ef6
Comment 2 OBSbugzilla Bot 2022-02-11 22:00:10 UTC
This is an autogenerated message for OBS integration:
This bug (1195838) was mentioned in
https://build.opensuse.org/request/show/953824 Factory / go1.16
https://build.opensuse.org/request/show/953825 Factory / go1.17
Comment 5 Swamp Workflow Management 2022-03-04 14:21:49 UTC
SUSE-SU-2022:0723-1: An update that solves three vulnerabilities and has one errata is now available.

Category: security (important)
Bug References: 1190649,1195834,1195835,1195838
CVE References: CVE-2022-23772,CVE-2022-23773,CVE-2022-23806
JIRA References: 
Sources used:
SUSE Manager Server 4.1 (src):    go1.17-1.17.7-1.20.1
SUSE Manager Retail Branch Server 4.1 (src):    go1.17-1.17.7-1.20.1
SUSE Manager Proxy 4.1 (src):    go1.17-1.17.7-1.20.1
SUSE Linux Enterprise Server for SAP 15-SP2 (src):    go1.17-1.17.7-1.20.1
SUSE Linux Enterprise Server 15-SP2-LTSS (src):    go1.17-1.17.7-1.20.1
SUSE Linux Enterprise Server 15-SP2-BCL (src):    go1.17-1.17.7-1.20.1
SUSE Linux Enterprise Realtime Extension 15-SP2 (src):    go1.17-1.17.7-1.20.1
SUSE Linux Enterprise Module for Development Tools 15-SP3 (src):    go1.17-1.17.7-1.20.1
SUSE Linux Enterprise High Performance Computing 15-SP2-LTSS (src):    go1.17-1.17.7-1.20.1
SUSE Linux Enterprise High Performance Computing 15-SP2-ESPOS (src):    go1.17-1.17.7-1.20.1
SUSE Enterprise Storage 7 (src):    go1.17-1.17.7-1.20.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 6 Swamp Workflow Management 2022-03-04 14:25:41 UTC
openSUSE-SU-2022:0723-1: An update that solves three vulnerabilities and has one errata is now available.

Category: security (important)
Bug References: 1190649,1195834,1195835,1195838
CVE References: CVE-2022-23772,CVE-2022-23773,CVE-2022-23806
JIRA References: 
Sources used:
openSUSE Leap 15.4 (src):    go1.17-1.17.7-1.20.1
openSUSE Leap 15.3 (src):    go1.17-1.17.7-1.20.1
Comment 7 Swamp Workflow Management 2022-03-04 14:28:48 UTC
openSUSE-SU-2022:0724-1: An update that solves three vulnerabilities and has one errata is now available.

Category: security (important)
Bug References: 1182345,1195834,1195835,1195838
CVE References: CVE-2022-23772,CVE-2022-23773,CVE-2022-23806
JIRA References: 
Sources used:
openSUSE Leap 15.4 (src):    go1.16-1.16.14-1.43.1
openSUSE Leap 15.3 (src):    go1.16-1.16.14-1.43.1
Comment 8 Swamp Workflow Management 2022-03-04 14:32:06 UTC
SUSE-SU-2022:0724-1: An update that solves three vulnerabilities and has one errata is now available.

Category: security (important)
Bug References: 1182345,1195834,1195835,1195838
CVE References: CVE-2022-23772,CVE-2022-23773,CVE-2022-23806
JIRA References: 
Sources used:
SUSE Manager Server 4.1 (src):    go1.16-1.16.14-1.43.1
SUSE Manager Retail Branch Server 4.1 (src):    go1.16-1.16.14-1.43.1
SUSE Manager Proxy 4.1 (src):    go1.16-1.16.14-1.43.1
SUSE Linux Enterprise Server for SAP 15-SP2 (src):    go1.16-1.16.14-1.43.1
SUSE Linux Enterprise Server 15-SP2-LTSS (src):    go1.16-1.16.14-1.43.1
SUSE Linux Enterprise Server 15-SP2-BCL (src):    go1.16-1.16.14-1.43.1
SUSE Linux Enterprise Realtime Extension 15-SP2 (src):    go1.16-1.16.14-1.43.1
SUSE Linux Enterprise Module for Development Tools 15-SP4 (src):    go1.16-1.16.14-1.43.1
SUSE Linux Enterprise Module for Development Tools 15-SP3 (src):    go1.16-1.16.14-1.43.1
SUSE Linux Enterprise High Performance Computing 15-SP2-LTSS (src):    go1.16-1.16.14-1.43.1
SUSE Linux Enterprise High Performance Computing 15-SP2-ESPOS (src):    go1.16-1.16.14-1.43.1
SUSE Enterprise Storage 7 (src):    go1.16-1.16.14-1.43.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 11 Marcus Meissner 2022-12-05 14:54:28 UTC
done