ontio / ontology

Official Go implementation of the Ontology protocol. https://dev-docs.ont.io/#/
GNU Lesser General Public License v3.0
829 stars 290 forks source link

CVE-2024-24790 CRITICAL vulnerability in /home/ont/ontology binary #1443

Closed hasakura12 closed 2 months ago

hasakura12 commented 2 months ago

Is your feature request related to a problem? Please describe.

Trivy image scan shows

home/ont/ontology (gobinary)
============================
Total: 1 (CRITICAL: 1)
┌─────────┬────────────────┬──────────┬────────┬───────────────────┬─────────────────┬────────────────────────────────────────────────────────────┐
│ Library │ Vulnerability  │ Severity │ Status │ Installed Version │  Fixed Version  │                           Title                            │
├─────────┼────────────────┼──────────┼────────┼───────────────────┼─────────────────┼────────────────────────────────────────────────────────────┤
│ stdlib  │ CVE-2024-24790 │ CRITICAL │ fixed  │ 1.18.10           │ 1.21.11, 1.22.4 │ golang: net/netip: Unexpected behavior from Is methods for │
│         │                │          │        │                   │                 │ IPv4-mapped IPv6 addresses                                 │
│         │                │          │        │                   │                 │ https://avd.aquasec.com/nvd/cve-2024-24790                 │
└─────────┴────────────────┴──────────┴────────┴───────────────────┴─────────────────┴────────────────────────────────────────────────────────────┘

Describe the solution you would like

Describe alternatives you have considered

laizy commented 2 months ago

fixed in #1444

hasakura12 commented 2 months ago

fixed in #1444

@laizy great. When will a new version of the binary be expected to be released?

hasakura12 commented 2 months ago

@laizy please let me know

laizy commented 2 months ago

@hasakura12 https://github.com/ontio/ontology/releases/tag/v2.5.8-go1.22.5