Skip to content
GitShowcase Forum

Someone opened a security issue in public on my repo, what should I do now?

Asked by Greta S. · Open Source Maintainers2 repliesupdated

Short answer

This morning someone opened a public issue on my parsing library with the title "Security: crafted input causes unbounded memory use". The body has a short proof of concept input and a stack trace. I tested it and the behaviour is real: a specific malformed input makes the parser allocate until the process dies. The library has a lot of downstream users, including some in server code that parses untrusted files.

Written by Greta S. ·
CiteGitShowcase Forum, "Someone opened a security issue in public on my repo, what should I do now?", https://gitshowcase.com/forum/discuss/someone-opened-a-security-issue-in-public-on-my-repo-what-should-i-do/, accessed 2026-12-05.
  1. Member ·

    I do not have a security policy file yet, so I cannot even blame them for not following one. They seem well meaning.

    I have limited time and no team. My rough plan:

    1. Reply politely and say I can reproduce it.
    2. Write a fix and cut a patch release.
    3. Mention it in the changelog.

    But I keep thinking I am missing steps, especially around the fact that the details are already public. What would you do in the next hour, the next day and the next week? And what should I put in place so this goes to me privately next time?

    0
    ReplyLink

Plain text or simple Markdown. Links are nofollow. Your email is never shown.

  1. Anand R.Member ·

    Prepare a short advisory text before the release: affected versions, fixed version, how to detect exposure, workaround if there is one (an input size limit in the caller helps here). Downstream users are the ones who need to hear about it, not only you.

  2. Casimir L.Member ·

    Next hour: you cannot un-publish it. Assume search engines and bots already saw the proof of concept. Consider editing the issue to remove the exact payload and leaving a note, but do not pretend that makes it private. Then work on the fix right away, since the window of exposure is now measured in hours.

GitShowcase Forum. Questions and answers on shipping developer projects: dev tools, APIs, infrastructure and portfolios.