Advisory

GHSA-r6v9-p59m-gj2p

Also known as: CVE-2022-31020, PYSEC-2022-265

Summary

Indy's NODE_UPGRADE transaction vulnerable to remote code execution

Details

Impact

The pool-upgrade request handler in Indy-Node <=1.12.4 allows an improperly authenticated attacker to remotely execute code on nodes within the network.

Network operators are strongly encouraged to upgrade to the latest Indy-Node release >=1.12.5 as soon as possible.

Patches

The pool-upgrade request handler in Indy-Node >=1.12.5 has been updated to properly authenticate pool-upgrade transactions before any processing is performed by the request handler. The transactions are further sanitized to prevent remote code execution.

Mitigations

Network operators are strongly encouraged to upgrade to the latest Indy-Node release >=1.12.5 as soon as possible.

Acknowledgements
Thank you to @shakreiner at CyberArk Labs for finding and responsibly disclosing this issue.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-09-02 21:55 UTC
Modified
2024-11-23 05:25 UTC

Affected packages and fixes

indy-node

PyPI · All systems

Affected

  • introduced 0, fixed 1.12.5rc1 (ecosystem)

Fixed versions

1.12.5rc1

Fix

  • Fixed version 1.12.5rc1
    pip install --upgrade indy-node==1.12.5rc1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences