Bug 1195838 (CVE-2022-23806) - VUL-0: CVE-2022-23806: go1.17,go1.16: golang: crypto/elliptic IsOnCurve returns true for invalid field elements
Summary: VUL-0: CVE-2022-23806: go1.17,go1.16: golang: crypto/elliptic IsOnCurve retur...
Status: RESOLVED FIXED
Alias: CVE-2022-23806
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Jeff Kowalczyk
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/323499/
Whiteboard: CVSSv3.1:SUSE:CVE-2022-23806:7.5:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-11 13:29 UTC by Gabriele Sonnu
Modified: 2023-11-02 13:15 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
Comment 12 Maintenance Automation 2023-03-02 16:30:08 UTC
SUSE-SU-2023:0603-1: An update that solves two vulnerabilities and has four fixes can now be installed.

Category: security (important)
Bug References: 1191468, 1195391, 1195838, 1202100, 1202101, 1208723
CVE References: CVE-2021-38297, CVE-2022-23806
Sources used:
Public Cloud Module 12 (src): google-guest-agent-20230221.00-1.29.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 13 Maintenance Automation 2023-03-02 16:30:13 UTC
SUSE-SU-2023:0602-1: An update that solves two vulnerabilities and has one fix can now be installed.

Category: security (important)
Bug References: 1191468, 1195838, 1208723
CVE References: CVE-2021-38297, CVE-2022-23806
Sources used:
openSUSE Leap 15.4 (src): google-osconfig-agent-20230222.00-150000.1.27.1
Public Cloud Module 15-SP1 (src): google-osconfig-agent-20230222.00-150000.1.27.1
Public Cloud Module 15-SP2 (src): google-osconfig-agent-20230222.00-150000.1.27.1
Public Cloud Module 15-SP3 (src): google-osconfig-agent-20230222.00-150000.1.27.1
Public Cloud Module 15-SP4 (src): google-osconfig-agent-20230222.00-150000.1.27.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 14 Maintenance Automation 2023-03-02 16:30:16 UTC
SUSE-SU-2023:0601-1: An update that solves two vulnerabilities and has six fixes can now be installed.

Category: security (important)
Bug References: 1191468, 1194319, 1195391, 1195838, 1202100, 1202101, 1202826, 1208723
CVE References: CVE-2021-38297, CVE-2022-23806
Sources used:
Public Cloud Module 12 (src): google-osconfig-agent-20230222.00-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 15 Maintenance Automation 2023-03-02 16:30:21 UTC
SUSE-SU-2023:0600-1: An update that solves two vulnerabilities and has two fixes can now be installed.

Category: security (important)
Bug References: 1191468, 1195391, 1195838, 1208723
CVE References: CVE-2021-38297, CVE-2022-23806
Sources used:
openSUSE Leap 15.4 (src): google-guest-agent-20230221.00-150000.1.34.1
Public Cloud Module 15-SP1 (src): google-guest-agent-20230221.00-150000.1.34.1
Public Cloud Module 15-SP2 (src): google-guest-agent-20230221.00-150000.1.34.1
Public Cloud Module 15-SP3 (src): google-guest-agent-20230221.00-150000.1.34.1
Public Cloud Module 15-SP4 (src): google-guest-agent-20230221.00-150000.1.34.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 16 OBSbugzilla Bot 2023-11-02 13:15:27 UTC
This is an autogenerated message for OBS integration:
This bug (1195838) was mentioned in
https://build.opensuse.org/request/show/1122671 Backports:SLE-12 / go1.17