Skip to content

[Question] General interest in additional crashes from fuzzing Typescript #55480

Closed
@0xricksanchez

Description

@0xricksanchez

Acknowledgement

  • I acknowledge that issues using this template may be closed without further explanation at the maintainer's discretion.

Comment

Hi Typescript team,

As mentioned in the last issue I created, we added multiple harnesses for TypeScript into Google's OSS-Fuzz project recently with our JS/TS fuzzer Jazzer.js.

From a quick glance at the recent crashes, it looks like there might be several more crashes related to what seems to be scattered (debug) assertions in the code as before (e.g.: Error: Debug Failure. Expected 21 <= 20)

Additionally, there seem to be a couple of crashes that were caused by: RangeError: Maximum call stack size exceeded.

I reported the latter crash type with an example write-up to MSRC as stated by the security policy in place in this repo, but it was closed due to: [...] isnt a security invariant. [...].
While I partially agree, I still feel that this, as is, could at least be considered a "local DoS" of e.g. the TypeScript compiler. The impact of this is discussable.

So bottom-line, before dismissing all of these findings, I wanted to reach out here.
These crash types seem to occur quite frequently in the harnesses we built, and before we invest significant effort into root causing these and potentially filing issues, I wanted to ask if this would be something you'd be interested in the first place.

Cheers

Metadata

Metadata

Assignees

No one assigned

    Labels

    DiscussionIssues which may not have code impact

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions