Impact
A malicious Arazzo description could run arbitrary code on the machine of anyone
who runs the respect command against it — including shell command execution and
theft of CI secrets. Only users who run the respect command on a description
they did not author (third-party, fetched, or pull-request content) are affected.
Users running their own workflows are not.
Patches
Fixed in @redocly/respect-core and @redocly/cli v2.33.0.
Workarounds
Do not run the respect command on Arazzo descriptions from untrusted or unreviewed sources.
To detect an exploit attempt, inspect the description's parameter and input
values for any string that begins with $faker. and contains constructor.
References
#2881
Impact
A malicious Arazzo description could run arbitrary code on the machine of anyone
who runs the
respectcommand against it — including shell command execution andtheft of CI secrets. Only users who run the
respectcommand on a descriptionthey did not author (third-party, fetched, or pull-request content) are affected.
Users running their own workflows are not.
Patches
Fixed in
@redocly/respect-coreand@redocly/cliv2.33.0.Workarounds
Do not run the
respectcommand on Arazzo descriptions from untrusted or unreviewed sources.To detect an exploit attempt, inspect the description's parameter and input
values for any string that begins with
$faker.and containsconstructor.References
#2881