Skip to content

Commit 3afb9b3

Browse files
fix(server): server preview browser rejects the compromised eMudhra intermediates (#24542)
Co-authored-by: Claude Opus 5.5 <[email protected]>
1 parent be1d066 commit 3afb9b3

1 file changed

Lines changed: 17 additions & 13 deletions

File tree

‎apps/server/src/preview/PreviewBrowser.ts‎

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -25,31 +25,35 @@ import { openZipArchive } from "../zipArchive.ts";
2525
// https://googlechromelabs.github.io/chrome-for-testing/known-good-versions-with-downloads.json,
2626
// download each platform's chrome-headless-shell zip, and replace the version and every byte count
2727
// and SHA-256 below.
28-
const VERSION = "154.0.8037.92";
28+
//
29+
// The headless shell never loads Chrome's CRLSet, so a certificate block reaches it only through
30+
// Chromium's compiled-in SPKI blocklist. Do not pin below 156.0.8078.70: earlier builds trust the
31+
// compromised eMudhra intermediates (crrev.com/c/8627687).
32+
const VERSION = "156.0.8078.70";
2933
const ARCHIVES = {
3034
linux64: {
31-
bytes: 120_477_194,
32-
sha256: "636aa5c79f2693632e9921b8bbb050038ba11672e02346c06c20f991aed096f9",
35+
bytes: 126_646_931,
36+
sha256: "a313da592261ff1e342c1e507d315f25b1809006c0508f77ce86151d464d4ccb",
3337
},
3438
"linux-arm64": {
35-
bytes: 121_182_296,
36-
sha256: "0ed0e47d9e9f639197f508d62ada09e5c6b4c4c60edab3160a9312a733091df6",
39+
bytes: 126_749_876,
40+
sha256: "dca11213d2e0b1db52141edd9f92ec423fd52ca25715846790d84fa1d5d16e8a",
3741
},
3842
"mac-arm64": {
39-
bytes: 99_221_129,
40-
sha256: "77da14e75d7f2568e6f7898d3df7cdc6faac74b15e903b2c9d486ebb6ca9b929",
43+
bytes: 103_901_293,
44+
sha256: "1f848385611f2e58122e68969489712661880fc9a92c9dd20428099f9998ba7b",
4145
},
4246
"mac-x64": {
43-
bytes: 104_748_425,
44-
sha256: "a54292aaacbb77f76f6ef47558e7c51ab884044e0adacca315567f83c060bcc4",
47+
bytes: 109_387_968,
48+
sha256: "ab4cc2949f88439e2241b2712c49268f24982f2d25af87960466cc22bdc2e6e1",
4549
},
4650
win32: {
47-
bytes: 114_295_943,
48-
sha256: "56b30d2d6c35775ebf8dc3618680f6529e1c38c87f7feb28a16e9904273d51f7",
51+
bytes: 119_029_359,
52+
sha256: "37dc9a03f37fd79637fec9f26042bf32f04cfe5b83749d980eb1e7d1a429d47c",
4953
},
5054
win64: {
51-
bytes: 120_822_223,
52-
sha256: "3ac2561f02d9d87aadc0399d00b9002d718a4c365624fa67db9e7bfaf6b1a568",
55+
bytes: 126_214_071,
56+
sha256: "41c6aa97046d05d015b817a95f7b1512c3a1a41b18364f8da46478ae520400b1",
5357
},
5458
} as const;
5559

0 commit comments

Comments
 (0)