-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v3: panic (nil pointer dereference) in parserc.go:789 #665
Comments
I had the same issue and had to revert to a5ece68 to fix. |
This is a good example of "The Billion Dollar Mistake". But to be fair, it only happens here because this is a C-style API that was converted to Go but keeping its general shape. The proper fix, to be done eventually, is to replace all these boolean error flags by proper error types. |
Picks up the fix for go-yaml/yaml#665 -- we picked up the important fix for CVE-2022-28948 already. This only affects go-yaml *v3*; the only user of v3 in Prometheus itself is rulefmt so the impact seems limited.
Picks up the fix for go-yaml/yaml#665 -- we picked up the important fix for CVE-2022-28948 already. This only affects go-yaml *v3*; the only user of v3 in Prometheus itself is rulefmt so the impact seems limited. Signed-off-by: David Leadbeater <dgl@dgl.cx>
Picks up the fix for go-yaml/yaml#665 -- we picked up the important fix for CVE-2022-28948 already. This only affects go-yaml *v3*; the only user of v3 in Prometheus itself is rulefmt so the impact seems limited. Signed-off-by: David Leadbeater <dgl@dgl.cx>
Picks up the fix for go-yaml/yaml#665 -- we picked up the important fix for CVE-2022-28948 already. This only affects go-yaml *v3*; the only user of v3 in Prometheus itself is rulefmt so the impact seems limited. Signed-off-by: David Leadbeater <dgl@dgl.cx>
Is this valid for the v2 library, if yes, can the fix be back-ported into v2? There are a number of outstanding issues that prevent us from switching from v2 to v3. |
Picks up the fix for go-yaml/yaml#665 -- we picked up the important fix for CVE-2022-28948 already. This only affects go-yaml *v3*; the only user of v3 in Prometheus itself is rulefmt so the impact seems limited. Signed-off-by: David Leadbeater <dgl@dgl.cx>
See go-yaml/yaml#666, and go-yaml/yaml#665. Signed-off-by: Alexandre Perrin <alex@isovalent.com>
See go-yaml/yaml#665 Signed-off-by: Alexandre Perrin <alex@isovalent.com>
See go-yaml/yaml#666, and go-yaml/yaml#665. Signed-off-by: Alexandre Perrin <alex@isovalent.com>
See go-yaml/yaml#665. Signed-off-by: Alexandre Perrin <alex@isovalent.com>
See go-yaml/yaml#666, and go-yaml/yaml#665. Signed-off-by: Alexandre Perrin <alex@isovalent.com>
See go-yaml/yaml#665 Signed-off-by: Alexandre Perrin <alex@isovalent.com>
See go-yaml/yaml#666, and go-yaml/yaml#665. Signed-off-by: Alexandre Perrin <alex@isovalent.com>
See go-yaml/yaml#666, and go-yaml/yaml#665. Signed-off-by: Alexandre Perrin <alex@isovalent.com>
See go-yaml/yaml#665. Signed-off-by: Alexandre Perrin <alex@isovalent.com>
See go-yaml/yaml#666, and go-yaml/yaml#665. Signed-off-by: Alexandre Perrin <alex@isovalent.com>
See go-yaml/yaml#666, and go-yaml/yaml#665. Signed-off-by: Alexandre Perrin <alex@isovalent.com>
Picks up the fix for go-yaml/yaml#665 -- we picked up the important fix for CVE-2022-28948 already. This only affects go-yaml *v3*; the only user of v3 in Prometheus itself is rulefmt so the impact seems limited. Signed-off-by: David Leadbeater <dgl@dgl.cx>
See go-yaml/yaml#666, and go-yaml/yaml#665. Signed-off-by: Alexandre Perrin <alex@isovalent.com>
See go-yaml/yaml#666, and go-yaml/yaml#665. Signed-off-by: Alexandre Perrin <alex@isovalent.com>
Hi folks 👋🏻 Found this panic while fuzzing my own project.
Minimal example of the panic (https://play.golang.org/p/GV-Lwua6OMA):
Output:
The text was updated successfully, but these errors were encountered: