Skip to content

Tags

Tags

v2.5.8

Toggle v2.5.8's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(security): apk upgrade in the image build to pick up libexpat 2.1…

…0.0 (#16)

v2.5.7 ships Alpine libexpat 2.9.0-r0 (pulled in by python3), which has
four HIGH advisories fixed in 2.10.0-r0: CVE-2026-113351, CVE-2026-115506,
CVE-2026-117610, CVE-2026-118370.

Run `apk upgrade --available` ahead of the toolchain install so the image
always carries the current Alpine security fixes, not only those in the
node:22-alpine base at the time it was cut. The APK_SECURITY_PATCH date
is a cache key: bump it to force the layer to rebuild.

A fresh build also moves zlib 1.3.2-r1 -> 1.4-r0 (base alpine 3.24.4).

v2.5.7

Toggle v2.5.7's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(security): bump body-parser and undici (CVE-2026-111181, CVE-2026…

…-109869) (#14)

- undici: raise the existing selector in place to ^7.30.1 (7.30.0 -> 7.30.1).
- body-parser: express 5 now gets ^2.4.0 via a new 2.x selector. The old
  unbounded `>=1.20.3` floor had rewritten mock-http-server's declared
  ^1.18.1 to 2.2.1, which a 2.x selector never matches; it now targets
  ^1.20.9, the major mock-http-server declares.

Lockfile regenerated with pnpm 10.34.6.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

v2.5.6

Toggle v2.5.6's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
[INFRA-1076] fix(security): bump proxy-addr to 2.0.8 (CVE-2026-90711) (…

…#11)

* [INFRA-1076] fix(security): bump proxy-addr to 2.0.8 (CVE-2026-90711)

proxy-addr < 2.0.8 lets an IPv4-mapped IPv6 address bypass a trusted
subnet check (CVE-2026-90711 / GHSA-jqcg-44mw-7w3h, CRITICAL). express
5.1.0 declares ^2.0.7, which already admits 2.0.8, and no express release
requires 2.0.8, so the fix is a pnpm override floor rather than an express
bump.

Same pass clears every other fixable HIGH in the /iframely tree:

- brace-expansion 1.1.14 -> 1.1.21, 2.1.0 -> 2.1.7 (CVE-2026-13149,
  -14257, -69152, -102276, -102278)
- undici 7.28.0 -> 7.30.0 (CVE-2026-13697, -19534, -84961)
- js-yaml 5.1.0 -> 5.4.3 (CVE-2026-73643)

New entries use a caret target so each package stays in the major its
parent declares; an unbounded '>=' would put undici on 8.x and
brace-expansion 1.x/2.x on 5.x. js-yaml is the exception: the existing
'js-yaml@<=4.1.1' entry already rewrites node-yaml-config's ^4.1.0 to an
unbounded floor (that is how 5.1.0 got in), so a separate 5.x selector
never matches. Its floor is raised to >=5.2.2 in place, keeping the 5.x
line the image already runs.

Lockfile regenerated with pnpm 10.34.6 (CI's major); the diff touches
only these four packages. pnpm's unrelated deprecated: annotation on
inflight@1.0.6 was left out, as in #9. --frozen-lockfile passes under
pnpm 10.34.6 and 12.11.0 (what corepack resolves in the Docker build).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* [INFRA-1076] fix(security): drop the base image's unused global npm

node:22-alpine ships npm 10.9.9, whose bundled dependencies carry HIGH
findings with fixes only in newer npm majors (brace-expansion 2.0.2,
ip-address 10.1.0, pacote 19.0.2/20.0.1, picomatch 4.0.3, sigstore
3.1.0). The image never runs npm: the entrypoint execs node directly and
dependencies are installed with pnpm via corepack, so remove npm/npx
after the install instead of chasing its bundle.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

v2.5.5

Toggle v2.5.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(security): bump probe-image-size to 7.4.0 for CVE-2026-104861 (#9)

probe-image-size <= 7.3.0 has a quadratic-time DoS in its SVG parser
(CVE-2026-104861 / GHSA-gjj5-9665-rwrc, HIGH); 7.4.0 is the fix. The
declared range ^7.2.3 already admitted 7.4.0 -- only the lockfile held
7.2.3 -- so this raises the floor to ^7.4.0 and refreshes the lockfile.
A direct dependency is bumped directly rather than through a
pnpm-workspace override, and the new floor keeps a lockfile regeneration
from ever resolving back below the fix.

Lockfile change is limited to probe-image-size; its dependencies
(needle, lodash.merge, stream-parser) are unchanged.

Behaviour change: 7.4.0 only looks for the SVG header in the first 10 KB,
so an SVG whose <svg> element starts later is no longer sized and takes
the existing imagesize error path in lib/utils.js.

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

v2.5.4

Toggle v2.5.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge branch 'itteco:main' into main

v2.5.3

Toggle v2.5.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: cap cluster worker count via IFRAMELY_WORKERS_COUNT (#4)

graceful-cluster defaults to os.cpus().length workers, which is the HOST
node's vCPU count and ignores the container's CPU limit. On large nodes
(e.g. 32 vCPU) this forks ~32 workers, each independently loading ~1886
domains + Redis + Secrets Manager, exhausting the pod memory limit ->
OOMKilled/CrashLoopBackOff.

Pass workersCount to GracefulCluster.start from CONFIG.CLUSTER_WORKERS_COUNT,
settable via IFRAMELY_WORKERS_COUNT (alias IFRAMELY_WORKERS). When unset,
behaviour is unchanged (falls back to os.cpus().length).

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

v2.5.2

Toggle v2.5.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: authenticate to Redis via AWS ElastiCache secret (Secrets Manag…

…er) (#3)

* feat: authenticate to Redis via AWS ElastiCache secret (Secrets Manager)

Mirror the silo app's ELASTICACHE_SECRET_ARN pattern. When set (and
CACHE_ENGINE=redis), the Redis auth token (and optionally host/port) is
fetched from AWS Secrets Manager and injected into the connection options.
A background timer re-fetches the secret every AWS_SECRET_CACHE_TTL seconds
and rebuilds the client when the token rotates, so reconnections use fresh
credentials without a restart.

- New lib/aws-secrets.js: TTL-cached getSecret(), lazy-imports the AWS SDK
- Rework lib/cache-engines/redis.js: secret resolution, build options
  (standard + cluster), refresh timer; set/get unchanged
- Config/IFRAMELY_REDIS_HOST/PORT/TLS take precedence; TLS not forced on
- Configurable secret keys (defaults match silo so the same secret works)
- Add @aws-sdk/client-secrets-manager dependency (lazy-imported)
- Document new env vars in config.loader.js, config.local.js.SAMPLE, SETUP.md

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* chore: update pnpm-lock.yaml for @aws-sdk/client-secrets-manager

The Dockerfile installs with --frozen-lockfile, so the new dependency
must be present in the lockfile.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* feat: make cluster worker memory/restart limits configurable via env

The default per-worker memory cap (CLUSTER_WORKER_RESTART_ON_MEMORY_USED,
120 MB) is below the ~122 MB a worker uses just loading domains+plugins,
causing an immediate restart loop. Expose it (and the periodic restart
interval) via IFRAMELY_WORKER_MAX_MEMORY_MB / IFRAMELY_WORKER_RESTART_PERIOD_SEC.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* fix: only resolve ElastiCache secret when IRSA/Pod Identity is present

Previously the AWS Secrets Manager fetch was gated solely on
ELASTICACHE_SECRET_ARN, so any non-EKS deployment with that var set would
still attempt to reach Secrets Manager (and fail/fall back). Mirror silo's
resolveSecrets() gate: skip secret resolution unless IRSA or EKS Pod Identity
credentials are detected via one of:
  - AWS_ROLE_ARN / AWS_WEB_IDENTITY_TOKEN_FILE          (IRSA)
  - AWS_CONTAINER_CREDENTIALS_FULL_URI /
    AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE              (EKS Pod Identity)

Static AWS_ACCESS_KEY_ID creds are intentionally not accepted. Log a one-time
warning when the ARN is set but no managed credentials are present.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

Verified

This tag was signed with the committer’s verified signature.
mguptahub Manish Gupta

Verified

This tag was signed with the committer’s verified signature.
mguptahub Manish Gupta

v1.2.0

Toggle v1.2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge branch 'itteco:main' into main