Skip to content

Commit b6f3ad7

Browse files
authored
Merge pull request #4721 from TheBlueMatt/2026-06-0.1-backports-3
Cut 0.1.10/invoice 0.33.3/types+possiblyrand+dns-resolver 0.2.1
2 parents dda79ab + 15c0d18 commit b6f3ad7

10 files changed

Lines changed: 28 additions & 10 deletions

File tree

CHANGELOG.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,27 @@
4949
* Several spurious debug assertions were fixed (#4537, #4618).
5050

5151
## Security
52-
0.1.10 fixes a sanitization issue.
52+
0.1.10 fixes a sanitization issue and several denial-of-service vulnerabilities.
53+
* `Bolt11Invoice::recover_payee_pub_key` no longer panics if called on an
54+
invoice which set an explicit public key, rather than relying on public key
55+
recovery. This method is called from `payment_parameters_from_invoice` and
56+
`payment_parameters_from_variable_amount_invoice` (#4717).
57+
* Maliciously-crafted unpayable invoices which have overflowing feerates will
58+
no longer cause an `unwrap` failure panic (#4716).
59+
* `possiblyrandom` did not properly generate random data except when it was
60+
explicitly configured to. By default this means LDK is vulnerable to various
61+
HashDoS attacks (#4719).
62+
* `OMNameResolver` will no longer panic when looking up payment instructions
63+
which include unicode characters at the start of a TXT record (#4718).
5364
* `PrintableString` did not properly sanitize unicode format characters,
5465
allowing an attacker to corrupt the rendering of logs or UI (#4593, #4605).
66+
* RGS data is now limited in how large of a graph it is able to cause a client
67+
to store in memory. Note that RGS data is still considered a DoS vector in
68+
general and you should only use semi-trusted RGS data (#4713).
69+
* Counterparty-provided strings in failure messages are no longer logged in
70+
full, reducing the ability of such a counterparty to spam our logs (#4714).
71+
* Reading a corrupted `ChannelManager` or `ProbabilisticScorer` can no longer
72+
cause us to allocate large amounts of memory (#4712).
5573

5674
Thanks to Project Loupe for reporting most of the issues fixed in this release.
5775

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.1.0"
3+
version = "0.1.10"
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.2.0"
3+
version = "0.2.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.33.2"
4+
version = "0.33.3"
55
authors = ["Sebastian Geisler <sgeisler@wh2.tu-dresden.de>"]
66
documentation = "https://docs.rs/lightning-invoice/"
77
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.1.0"
3+
version = "0.1.10"
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.1.0"
3+
version = "0.1.10"
44
authors = ["Arik Sosman <git@arik.io>"]
55
license = "MIT OR Apache-2.0"
66
repository = "https://github.com/lightningdevkit/rust-lightning"

lightning-transaction-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-transaction-sync"
3-
version = "0.1.9"
3+
version = "0.1.10"
44
authors = ["Elias Rohrer"]
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.2.0"
3+
version = "0.2.1"
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.1.8"
3+
version = "0.1.10"
44
authors = ["Matt Corallo"]
55
license = "MIT OR Apache-2.0"
66
repository = "https://github.com/lightningdevkit/rust-lightning/"

possiblyrandom/Cargo.toml

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

0 commit comments

Comments
 (0)