Skip to content

Commit 4bab9c8

Browse files
authored
Merge pull request #2844 from TheBlueMatt/2024-01-cut-121
Release 0.0.121
2 parents 15c9f5b + 7b31b30 commit 4bab9c8

File tree

10 files changed

+46
-27
lines changed

10 files changed

+46
-27
lines changed

Diff for: CHANGELOG.md

+19
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
# 0.0.121 - Jan 22, 2024 - "Unwraps are Bad"
2+
3+
## Bug Fixes
4+
* Fix a deadlock when calling `batch_funding_transaction_generated` with
5+
invalid input (#2841).
6+
7+
## Security
8+
0.0.121 fixes a denial-of-service vulnerability which is reachable from
9+
untrusted input from peers in rare cases if we have a public channel or in
10+
common cases if `P2PGossipSync` is used.
11+
* A peer that failed to complete its handshake would cause a reachable
12+
`unwrap` in LDK since 0.0.119 when LDK attempts to broadcast gossip to all
13+
peers (#2842).
14+
15+
In total, this release features 4 files changed, 52 insertions, 10
16+
deletions in 4 commits from 2 authors, in alphabetical order:
17+
* Jeffrey Czyz
18+
* Matt Corallo
19+
120
# 0.0.120 - Jan 17, 2024 - "Unblinded Fuzzers"
221

322
## API Updates

Diff for: lightning-background-processor/Cargo.toml

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "lightning-background-processor"
3-
version = "0.0.120"
3+
version = "0.0.121"
44
authors = ["Valentine Wallace <[email protected]>"]
55
license = "MIT OR Apache-2.0"
66
repository = "https://github.com/lightningdevkit/rust-lightning"
@@ -22,11 +22,11 @@ default = ["std"]
2222

2323
[dependencies]
2424
bitcoin = { version = "0.30.2", default-features = false }
25-
lightning = { version = "0.0.120", path = "../lightning", default-features = false }
26-
lightning-rapid-gossip-sync = { version = "0.0.120", path = "../lightning-rapid-gossip-sync", default-features = false }
25+
lightning = { version = "0.0.121", path = "../lightning", default-features = false }
26+
lightning-rapid-gossip-sync = { version = "0.0.121", path = "../lightning-rapid-gossip-sync", default-features = false }
2727

2828
[dev-dependencies]
2929
tokio = { version = "1.35", features = [ "macros", "rt", "rt-multi-thread", "sync", "time" ] }
30-
lightning = { version = "0.0.120", path = "../lightning", features = ["_test_utils"] }
31-
lightning-invoice = { version = "0.28.0", path = "../lightning-invoice" }
32-
lightning-persister = { version = "0.0.120", path = "../lightning-persister" }
30+
lightning = { version = "0.0.121", path = "../lightning", features = ["_test_utils"] }
31+
lightning-invoice = { version = "0.29.0", path = "../lightning-invoice" }
32+
lightning-persister = { version = "0.0.121", path = "../lightning-persister" }

Diff for: lightning-block-sync/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "lightning-block-sync"
3-
version = "0.0.120"
3+
version = "0.0.121"
44
authors = ["Jeffrey Czyz", "Matt Corallo"]
55
license = "MIT OR Apache-2.0"
66
repository = "https://github.com/lightningdevkit/rust-lightning"
@@ -20,11 +20,11 @@ rpc-client = [ "serde_json", "chunked_transfer" ]
2020
[dependencies]
2121
bitcoin = "0.30.2"
2222
hex = { package = "hex-conservative", version = "0.1.1", default-features = false }
23-
lightning = { version = "0.0.120", path = "../lightning" }
23+
lightning = { version = "0.0.121", path = "../lightning" }
2424
tokio = { version = "1.35", features = [ "io-util", "net", "time", "rt" ], optional = true }
2525
serde_json = { version = "1.0", optional = true }
2626
chunked_transfer = { version = "1.4", optional = true }
2727

2828
[dev-dependencies]
29-
lightning = { version = "0.0.120", path = "../lightning", features = ["_test_utils"] }
29+
lightning = { version = "0.0.121", path = "../lightning", features = ["_test_utils"] }
3030
tokio = { version = "1.35", features = [ "macros", "rt" ] }

Diff for: lightning-custom-message/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "lightning-custom-message"
3-
version = "0.0.120"
3+
version = "0.0.121"
44
authors = ["Jeffrey Czyz"]
55
license = "MIT OR Apache-2.0"
66
repository = "https://github.com/lightningdevkit/rust-lightning"
@@ -15,4 +15,4 @@ rustdoc-args = ["--cfg", "docsrs"]
1515

1616
[dependencies]
1717
bitcoin = "0.30.2"
18-
lightning = { version = "0.0.120", path = "../lightning" }
18+
lightning = { version = "0.0.121", path = "../lightning" }

Diff for: lightning-invoice/Cargo.toml

+3-3
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.28.0"
4+
version = "0.29.0"
55
authors = ["Sebastian Geisler <[email protected]>"]
66
documentation = "https://docs.rs/lightning-invoice/"
77
license = "MIT OR Apache-2.0"
@@ -21,14 +21,14 @@ std = ["bitcoin/std", "num-traits/std", "lightning/std", "bech32/std"]
2121

2222
[dependencies]
2323
bech32 = { version = "0.9.0", default-features = false }
24-
lightning = { version = "0.0.120", path = "../lightning", default-features = false }
24+
lightning = { version = "0.0.121", path = "../lightning", default-features = false }
2525
secp256k1 = { version = "0.27.0", default-features = false, features = ["recovery", "alloc"] }
2626
num-traits = { version = "0.2.8", default-features = false }
2727
hashbrown = { version = "0.8", optional = true }
2828
serde = { version = "1.0.118", optional = true }
2929
bitcoin = { version = "0.30.2", default-features = false }
3030

3131
[dev-dependencies]
32-
lightning = { version = "0.0.120", path = "../lightning", default-features = false, features = ["_test_utils"] }
32+
lightning = { version = "0.0.121", path = "../lightning", default-features = false, features = ["_test_utils"] }
3333
hex = { package = "hex-conservative", version = "0.1.1", default-features = false }
3434
serde_json = { version = "1"}

Diff for: lightning-net-tokio/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "lightning-net-tokio"
3-
version = "0.0.120"
3+
version = "0.0.121"
44
authors = ["Matt Corallo"]
55
license = "MIT OR Apache-2.0"
66
repository = "https://github.com/lightningdevkit/rust-lightning/"
@@ -16,9 +16,9 @@ rustdoc-args = ["--cfg", "docsrs"]
1616

1717
[dependencies]
1818
bitcoin = "0.30.2"
19-
lightning = { version = "0.0.120", path = "../lightning" }
19+
lightning = { version = "0.0.121", path = "../lightning" }
2020
tokio = { version = "1.35", features = [ "rt", "sync", "net", "time" ] }
2121

2222
[dev-dependencies]
2323
tokio = { version = "1.35", features = [ "macros", "rt", "rt-multi-thread", "sync", "net", "time" ] }
24-
lightning = { version = "0.0.120", path = "../lightning", features = ["_test_utils"] }
24+
lightning = { version = "0.0.121", path = "../lightning", features = ["_test_utils"] }

Diff for: lightning-persister/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "lightning-persister"
3-
version = "0.0.120"
3+
version = "0.0.121"
44
authors = ["Valentine Wallace", "Matt Corallo"]
55
license = "MIT OR Apache-2.0"
66
repository = "https://github.com/lightningdevkit/rust-lightning"
@@ -15,7 +15,7 @@ rustdoc-args = ["--cfg", "docsrs"]
1515

1616
[dependencies]
1717
bitcoin = "0.30.2"
18-
lightning = { version = "0.0.120", path = "../lightning" }
18+
lightning = { version = "0.0.121", path = "../lightning" }
1919

2020
[target.'cfg(windows)'.dependencies]
2121
windows-sys = { version = "0.48.0", default-features = false, features = ["Win32_Storage_FileSystem", "Win32_Foundation"] }
@@ -24,5 +24,5 @@ windows-sys = { version = "0.48.0", default-features = false, features = ["Win32
2424
criterion = { version = "0.4", optional = true, default-features = false }
2525

2626
[dev-dependencies]
27-
lightning = { version = "0.0.120", path = "../lightning", features = ["_test_utils"] }
27+
lightning = { version = "0.0.121", path = "../lightning", features = ["_test_utils"] }
2828
bitcoin = { version = "0.30.2", default-features = false }

Diff for: lightning-rapid-gossip-sync/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "lightning-rapid-gossip-sync"
3-
version = "0.0.120"
3+
version = "0.0.121"
44
authors = ["Arik Sosman <[email protected]>"]
55
license = "MIT OR Apache-2.0"
66
repository = "https://github.com/lightningdevkit/rust-lightning"
@@ -15,11 +15,11 @@ no-std = ["lightning/no-std"]
1515
std = ["lightning/std"]
1616

1717
[dependencies]
18-
lightning = { version = "0.0.120", path = "../lightning", default-features = false }
18+
lightning = { version = "0.0.121", path = "../lightning", default-features = false }
1919
bitcoin = { version = "0.30.2", default-features = false }
2020

2121
[target.'cfg(ldk_bench)'.dependencies]
2222
criterion = { version = "0.4", optional = true, default-features = false }
2323

2424
[dev-dependencies]
25-
lightning = { version = "0.0.120", path = "../lightning", features = ["_test_utils"] }
25+
lightning = { version = "0.0.121", path = "../lightning", features = ["_test_utils"] }

Diff for: lightning-transaction-sync/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "lightning-transaction-sync"
3-
version = "0.0.120"
3+
version = "0.0.121"
44
authors = ["Elias Rohrer"]
55
license = "MIT OR Apache-2.0"
66
repository = "https://github.com/lightningdevkit/rust-lightning"
@@ -23,15 +23,15 @@ electrum = ["electrum-client"]
2323
async-interface = []
2424

2525
[dependencies]
26-
lightning = { version = "0.0.120", path = "../lightning", default-features = false, features = ["std"] }
26+
lightning = { version = "0.0.121", path = "../lightning", default-features = false, features = ["std"] }
2727
bitcoin = { version = "0.30.2", default-features = false }
2828
bdk-macros = "0.6"
2929
futures = { version = "0.3", optional = true }
3030
esplora-client = { version = "0.6", default-features = false, optional = true }
3131
electrum-client = { version = "0.18.0", optional = true }
3232

3333
[dev-dependencies]
34-
lightning = { version = "0.0.120", path = "../lightning", default-features = false, features = ["std", "_test_utils"] }
34+
lightning = { version = "0.0.121", path = "../lightning", default-features = false, features = ["std", "_test_utils"] }
3535
tokio = { version = "1.35.0", features = ["full"] }
3636

3737
[target.'cfg(not(no_download))'.dev-dependencies]

Diff for: lightning/Cargo.toml

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

0 commit comments

Comments
 (0)