Skip to content

Commit c7dc3a8

Browse files
authored
Test against go1.20.6 (#6987)
This version includes a fix that seems relevant to us: > The HTTP/1 client did not fully validate the contents of the Host header. A maliciously crafted Host header could inject additional headers or entire requests. The HTTP/1 client now refuses to send requests containing an invalid Request.Host or Request.URL.Host value. > > Thanks to Bartek Nowotarski for reporting this issue. > > Includes security fixes for CVE-2023-29406 and Go issue https://go.dev/issue/60374
1 parent d7ccffa commit c7dc3a8

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

.github/workflows/boulder-ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ jobs:
3636
matrix:
3737
# Add additional docker image tags here and all tests will be run with the additional image.
3838
BOULDER_TOOLS_TAG:
39-
- go1.20.5_2023-06-20
40-
- go1.21rc2_2023-06-21
39+
- go1.20.6_2023-07-11
40+
- go1.21rc2_2023-07-11
4141
# Tests command definitions. Use the entire "docker compose" command you want to run.
4242
tests:
4343
# Run ./test.sh --help for a description of each of the flags.
@@ -113,8 +113,8 @@ jobs:
113113
matrix:
114114
# Add additional docker image tags here and all tests will be run with the additional image.
115115
BOULDER_TOOLS_TAG:
116-
- go1.20.5_2023-06-20
117-
- go1.21rc2_2023-06-21
116+
- go1.20.6_2023-07-11
117+
- go1.21rc2_2023-07-11
118118

119119
env:
120120
# This sets the docker image tag for the boulder-tools repository to

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
fail-fast: false
1616
matrix:
1717
GO_VERSION:
18-
- "1.20.5"
18+
- "1.20.6"
1919
- "1.21rc2"
2020
runs-on: ubuntu-20.04
2121
permissions:

.github/workflows/try-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
fail-fast: false
1616
matrix:
1717
GO_VERSION:
18-
- "1.20.5"
18+
- "1.20.6"
1919
- "1.21rc2"
2020
runs-on: ubuntu-20.04
2121
steps:

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: '3'
22
services:
33
boulder:
44
# Should match one of the GO_DEV_VERSIONS in test/boulder-tools/tag_and_upload.sh.
5-
image: &boulder_image letsencrypt/boulder-tools:${BOULDER_TOOLS_TAG:-go1.20.5_2023-06-20}
5+
image: &boulder_image letsencrypt/boulder-tools:${BOULDER_TOOLS_TAG:-go1.20.5_2023-07-11}
66
environment:
77
# To solve HTTP-01 and TLS-ALPN-01 challenges, change the IP in FAKE_DNS
88
# to the IP address where your ACME client's solver is listening.

ra/ra_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2063,7 +2063,7 @@ func TestNewOrderReuse(t *testing.T) {
20632063
t.Run(tc.Name, func(t *testing.T) {
20642064
// If the testcase specifies, advance the clock before adding the order
20652065
if tc.AdvanceClock != nil {
2066-
fc.Now().Add(*tc.AdvanceClock)
2066+
_ = fc.Now().Add(*tc.AdvanceClock)
20672067
}
20682068
// Add the order for the test request
20692069
order, err := ra.NewOrder(ctx, tc.OrderReq)

test/boulder-tools/tag_and_upload.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ DOCKER_REPO="letsencrypt/boulder-tools"
1212
# .github/workflows/release.yml,
1313
# .github/workflows/try-release.yml if appropriate,
1414
# and .github/workflows/boulder-ci.yml with the new container tag.
15-
GO_CI_VERSIONS=( "1.20.5" "1.21rc2" )
15+
GO_CI_VERSIONS=( "1.20.6" "1.21rc2" )
1616
# These versions are built for both platforms that boulder devs use.
1717
# When updating GO_DEV_VERSIONS, please also update
1818
# ../../docker-compose.yml's default Go version.
19-
GO_DEV_VERSIONS=( "1.20.5" )
19+
GO_DEV_VERSIONS=( "1.20.6" )
2020

2121
echo "Please login to allow push to DockerHub"
2222
docker login

0 commit comments

Comments
 (0)