Skip to content

Commit 0e8b121

Browse files
authored
Merge pull request #8861 from ipfs/release-v0.12.2
Release v0.12.2
2 parents da2b9bd + 9b5ff41 commit 0e8b121

File tree

6 files changed

+57
-10
lines changed

6 files changed

+57
-10
lines changed

.circleci/main.yml

+7-4
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ default_environment: &default_environment
3636
executors:
3737
golang:
3838
docker:
39-
- image: cimg/go:1.16.12
39+
- image: cimg/go:1.16.15
4040
working_directory: ~/ipfs/go-ipfs
4141
environment:
4242
<<: *default_environment
@@ -61,7 +61,7 @@ executors:
6161
E2E_IPFSD_TYPE: go
6262
dockerizer:
6363
docker:
64-
- image: cimg/go:1.16.12
64+
- image: cimg/go:1.16.15
6565
environment:
6666
IMAGE_NAME: ipfs/go-ipfs
6767
WIP_IMAGE_TAG: wip
@@ -150,8 +150,8 @@ jobs:
150150
- run: sudo apt update
151151
- run: |
152152
mkdir ~/localgo && cd ~/localgo
153-
wget https://golang.org/dl/go1.16.12.linux-amd64.tar.gz
154-
tar xfz go1.16.12.linux-amd64.tar.gz
153+
wget https://golang.org/dl/go1.16.15.linux-amd64.tar.gz
154+
tar xfz go1.16.15.linux-amd64.tar.gz
155155
echo "export PATH=$(pwd)/go/bin:\$PATH" >> ~/.bashrc
156156
- run: go version
157157
- run: sudo apt install socat net-tools
@@ -292,6 +292,9 @@ jobs:
292292
command: |
293293
git clone https://github.com/ipfs/go-ipfs-http-client.git
294294
git -C go-ipfs-http-client log -1
295+
cd go-ipfs-http-client
296+
git checkout v0.2.0
297+
cd ..
295298
- restore_cache:
296299
keys:
297300
- v1-http-client-{{ checksum "~/ipfs/go-ipfs/go-ipfs-http-client/go.sum" }}

CHANGELOG.md

+45-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,50 @@
11
# go-ipfs changelog
22

3-
## v0.12.1 2022-03-10
4-
This patch release [fixes](https://github.com/ipfs/go-ipfs/commit/816a128aaf963d72c4930852ce32b9a4e31924a1) a security issue with the `docker-compose.yaml` file, introduced in v0.11.0, in which the IPFS daemon API listens on all interfaces instead of only the loopback interface, which could allow remote callers to control your IPFS daemon. If you use the included `docker-compose.yaml` file, it is recommended to upgrade.
3+
## v0.12.2 and v0.11.1 2022-04-08
4+
5+
This patch release fixes a security issue wherein traversing some malformed DAGs can cause the node to panic.
6+
7+
See also the security advisory: https://github.com/ipfs/go-ipfs/security/advisories/GHSA-mcq2-w56r-5w2w
8+
9+
Note: the v0.11.1 patch release contains the Docker compose fix from v0.12.1 as well
10+
11+
### Changelog
12+
13+
<details>
14+
<summary>Full Changelog</summary>
15+
- github.com/ipld/go-codec-dagpb (v1.3.0 -> v1.3.2):
16+
- fix: use protowire for Links bytes decoding
17+
</details>
18+
19+
### ❤ Contributors
20+
21+
| Contributor | Commits | Lines ± | Files Changed |
22+
|-------------|---------|---------|---------------|
23+
| Rod Vagg | 1 | +34/-19 | 2 |
24+
25+
## v0.12.1 2022-03-17
26+
27+
This patch release [fixes](https://github.com/ipfs/go-ipfs/commit/816a128aaf963d72c4930852ce32b9a4e31924a1) a security issue with the `docker-compose.yaml` file in which the IPFS daemon API listens on all interfaces instead of only the loopback interface, which could allow remote callers to control your IPFS daemon. If you use the included `docker-compose.yaml` file, it is recommended to upgrade.
28+
29+
See also the security advisory: https://github.com/ipfs/go-ipfs/security/advisories/GHSA-fx5p-f64h-93xc
30+
31+
Thanks to @LynHyper for finding and disclosing this.
32+
33+
### Changelog
34+
35+
<details>
36+
<summary>Full Changelog</summary>
37+
38+
- github.com/ipfs/go-ipfs:
39+
- fix: listen on loopback for API and gateway ports in docker-compose.yaml
40+
41+
</details>
42+
43+
### ❤ Contributors
44+
45+
| Contributor | Commits | Lines ± | Files Changed |
46+
|-------------|---------|---------|---------------|
47+
| guseggert | 1 | +10/-3 | 1 |
548

649
## v0.12.0 2022-02-17
750

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Note: when updating the go minor version here, also update the go-channel in snap/snapcraft.yml
2-
FROM golang:1.16.12-buster
2+
FROM golang:1.16.15-buster
33
LABEL maintainer="Steven Allen <[email protected]>"
44

55
# Install deps

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ require (
6060
github.com/ipfs/interface-go-ipfs-core v0.5.2
6161
github.com/ipfs/tar-utils v0.0.2
6262
github.com/ipld/go-car v0.3.2
63-
github.com/ipld/go-codec-dagpb v1.3.0
63+
github.com/ipld/go-codec-dagpb v1.3.2
6464
github.com/ipld/go-ipld-prime v0.14.2
6565
github.com/jbenet/go-random v0.0.0-20190219211222-123a90aedc0c
6666
github.com/jbenet/go-temp-err-catcher v0.1.0

go.sum

+2-1
Original file line numberDiff line numberDiff line change
@@ -583,8 +583,9 @@ github.com/ipfs/tar-utils v0.0.2/go.mod h1:4qlnRWgTVljIMhSG2SqRYn66NT+3wrv/kZt9V
583583
github.com/ipld/go-car v0.3.2 h1:V9wt/80FNfbMRWSD98W5br6fyjUAyVgI2lDOTZX16Lg=
584584
github.com/ipld/go-car v0.3.2/go.mod h1:WEjynkVt04dr0GwJhry0KlaTeSDEiEYyMPOxDBQ17KE=
585585
github.com/ipld/go-codec-dagpb v1.2.0/go.mod h1:6nBN7X7h8EOsEejZGqC7tej5drsdBAXbMHyBT+Fne5s=
586-
github.com/ipld/go-codec-dagpb v1.3.0 h1:czTcaoAuNNyIYWs6Qe01DJ+sEX7B+1Z0LcXjSatMGe8=
587586
github.com/ipld/go-codec-dagpb v1.3.0/go.mod h1:ga4JTU3abYApDC3pZ00BC2RSvC3qfBb9MSJkMLSwnhA=
587+
github.com/ipld/go-codec-dagpb v1.3.2 h1:MZQUIjanHXXfDuYmtWYT8nFbqfFsZuyHClj6VDmSXr4=
588+
github.com/ipld/go-codec-dagpb v1.3.2/go.mod h1:ga4JTU3abYApDC3pZ00BC2RSvC3qfBb9MSJkMLSwnhA=
588589
github.com/ipld/go-ipld-prime v0.9.0/go.mod h1:KvBLMr4PX1gWptgkzRjVZCrLmSGcZCb/jioOQwCqZN8=
589590
github.com/ipld/go-ipld-prime v0.9.1-0.20210324083106-dc342a9917db/go.mod h1:KvBLMr4PX1gWptgkzRjVZCrLmSGcZCb/jioOQwCqZN8=
590591
github.com/ipld/go-ipld-prime v0.11.0/go.mod h1:+WIAkokurHmZ/KwzDOMUuoeJgaRQktHtEaLglS3ZeV8=

version.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ package ipfs
44
var CurrentCommit string
55

66
// CurrentVersionNumber is the current application's version literal
7-
const CurrentVersionNumber = "0.12.1"
7+
const CurrentVersionNumber = "0.12.2"
88

99
const ApiVersion = "/go-ipfs/" + CurrentVersionNumber + "/"
1010

0 commit comments

Comments
 (0)