Skip to content

Commit a47dfbd

Browse files
authored
Merge pull request #4723 from TheBlueMatt/2026-06-0.2.3
Cut 0.2.3/dns-resolver 0.3.1/invoice 0.34.1/types 0.3.2
2 parents 5dcfd9e + 9ed8a8d commit a47dfbd

11 files changed

Lines changed: 30 additions & 11 deletions

File tree

CHANGELOG.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,19 @@
7171

7272
## Security
7373
0.2.3 fixes several underestimates of the anchor reserves required to ensure we
74-
can reliably close channels and a sanitization issue.
74+
can reliably close channels, several denial-of-service vulnerabilities and a
75+
sanitization issue.
76+
* `Bolt11Invoice::recover_payee_pub_key` no longer panics if called on an
77+
invoice which set an explicit public key, rather than relying on public key
78+
recovery. Note that this method is called from
79+
`PaymentParameters::from_bolt11_invoice` (#4717).
80+
* Maliciously-crafted unpayable invoices which have overflowing feerates will
81+
no longer cause an `unwrap` failure panic (#4716).
82+
* `possiblyrandom` did not properly generate random data except when it was
83+
explicitly configured to. By default this means LDK is vulnerable to various
84+
HashDoS attacks (#4719).
85+
* `OMNameResolver` will no longer panic when looking up payment instructions
86+
which include unicode characters at the start of a TXT record (#4718).
7587
* When using the `anchor_channel_reserves` module to calculate reserves
7688
required to pay for fees when closing anchor channels, zero-fee-commitment
7789
channels were not considered. This could allow a counterparty to open many
@@ -80,6 +92,13 @@ can reliably close channels and a sanitization issue.
8092
the wallet by ignoring the `TxIn` cost to spend them (#4670).
8193
* `PrintableString` did not properly sanitize unicode format characters,
8294
allowing an attacker to corrupt the rendering of logs or UI (#4593, #4605).
95+
* RGS data is now limited in how large of a graph it is able to cause a client
96+
to store in memory. Note that RGS data is still considered a DoS vector in
97+
general and you should only use semi-trusted RGS data (#4713).
98+
* Counterparty-provided strings in failure messages are no longer logged in
99+
full, reducing the ability of such a counterparty to spam our logs (#4714).
100+
* Reading a corrupted `ChannelManager` or `ProbabilisticScorer` can no longer
101+
cause us to allocate large amounts of memory (#4712).
83102

84103
Thanks to Project Loupe for reporting most of the issues fixed in this release.
85104

lightning-background-processor/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "lightning-background-processor"
3-
version = "0.2.0"
3+
version = "0.2.3"
44
authors = ["Valentine Wallace <vwallace@protonmail.com>"]
55
license = "MIT OR Apache-2.0"
66
repository = "https://github.com/lightningdevkit/rust-lightning"

lightning-custom-message/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "lightning-custom-message"
3-
version = "0.2.0"
3+
version = "0.2.3"
44
authors = ["Jeffrey Czyz"]
55
license = "MIT OR Apache-2.0"
66
repository = "https://github.com/lightningdevkit/rust-lightning"

lightning-dns-resolver/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "lightning-dns-resolver"
3-
version = "0.3.0"
3+
version = "0.3.1"
44
authors = ["Matt Corallo"]
55
license = "MIT OR Apache-2.0"
66
repository = "https://github.com/lightningdevkit/rust-lightning/"

lightning-invoice/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "lightning-invoice"
33
description = "Data structures to parse and serialize BOLT11 lightning invoices"
4-
version = "0.34.0"
4+
version = "0.34.1"
55
authors = ["Sebastian Geisler <sgeisler@wh2.tu-dresden.de>"]
66
documentation = "https://docs.rs/lightning-invoice/"
77
license = "MIT OR Apache-2.0"

lightning-liquidity/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "lightning-liquidity"
3-
version = "0.2.0"
3+
version = "0.2.3"
44
authors = ["John Cantrell <johncantrell97@gmail.com>", "Elias Rohrer <dev@tnull.de>"]
55
homepage = "https://lightningdevkit.org/"
66
license = "MIT OR Apache-2.0"

lightning-persister/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "lightning-persister"
3-
version = "0.2.0"
3+
version = "0.2.3"
44
authors = ["Valentine Wallace", "Matt Corallo"]
55
license = "MIT OR Apache-2.0"
66
repository = "https://github.com/lightningdevkit/rust-lightning"

lightning-rapid-gossip-sync/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "lightning-rapid-gossip-sync"
3-
version = "0.2.0"
3+
version = "0.2.3"
44
authors = ["Arik Sosman <git@arik.io>"]
55
license = "MIT OR Apache-2.0"
66
repository = "https://github.com/lightningdevkit/rust-lightning"

lightning-types/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "lightning-types"
3-
version = "0.3.1"
3+
version = "0.3.2"
44
authors = ["Matt Corallo"]
55
license = "MIT OR Apache-2.0"
66
repository = "https://github.com/lightningdevkit/rust-lightning/"

lightning/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "lightning"
3-
version = "0.2.2"
3+
version = "0.2.3"
44
authors = ["Matt Corallo"]
55
license = "MIT OR Apache-2.0"
66
repository = "https://github.com/lightningdevkit/rust-lightning/"

0 commit comments

Comments
 (0)