Affected by GO-2022-0342
and 27 other vulnerabilities
GO-2022-0342 : Grafana XSS in Dashboard Text Panel in github.com/grafana/grafana
GO-2022-0707 : Grafana Authentication Bypass in github.com/grafana/grafana
GO-2024-2483 : Grafana XSS via adding a link in General feature in github.com/grafana/grafana
GO-2024-2510 : Grafana Cross-site Scripting (XSS) in github.com/grafana/grafana
GO-2024-2513 : Grafana information disclosure in github.com/grafana/grafana
GO-2024-2515 : Grafana XSS via the OpenTSDB datasource in github.com/grafana/grafana
GO-2024-2516 : Grafana XSS via a column style in github.com/grafana/grafana
GO-2024-2517 : Grafana XSS in header column rename in github.com/grafana/grafana
GO-2024-2519 : Grafana world readable configuration files in github.com/grafana/grafana
GO-2024-2520 : Grafana XSS via a query alias for the ElasticSearch datasource in github.com/grafana/grafana
GO-2024-2523 : Grafana stored XSS in github.com/grafana/grafana
GO-2024-2629 : Grafana's users with permissions to create a data source can CRUD all data sources in github.com/grafana/grafana
GO-2024-2661 : Arbitrary file read in github.com/grafana/grafana
GO-2024-2697 : Grafana: Users outside an organization can delete a snapshot with its key in github.com/grafana/grafana
GO-2024-2843 : Grafana Email addresses and usernames can not be trusted in github.com/grafana/grafana
GO-2024-2844 : Grafana User enumeration via forget password in github.com/grafana/grafana
GO-2024-2847 : Grafana Escalation from admin to server admin when auth proxy is used in github.com/grafana/grafana
GO-2024-2848 : Grafana when using email as a username can block other users from signing in in github.com/grafana/grafana
GO-2024-2851 : Grafana Data source and plugin proxy endpoints leaking authentication tokens to some destination plugins in github.com/grafana/grafana
GO-2024-2852 : Grafana account takeover via OAuth vulnerability in github.com/grafana/grafana
GO-2024-2854 : Grafana folders admin only permission privilege escalation in github.com/grafana/grafana
GO-2024-2855 : Grafana Plugin signature bypass in github.com/grafana/grafana
GO-2024-2856 : Grafana Race condition allowing privilege escalation in github.com/grafana/grafana
GO-2024-2857 : Grafana Stored Cross-site Scripting in Unified Alerting in github.com/grafana/grafana
GO-2024-2867 : Grafana Spoofing originalUrl of snapshots in github.com/grafana/grafana
GO-2024-3079 : Grafana plugin data sources vulnerable to access control bypass in github.com/grafana/grafana
GO-2024-3215 : Grafana Command Injection And Local File Inclusion Via Sql Expressions in github.com/grafana/grafana
GO-2024-3240 : Grafana org admin can delete pending invites in different org in github.com/grafana/grafana
Discover Packages
github.com/grafana/grafana
pkg
components
null
package
Version:
v4.3.1+incompatible
Opens a new window with list of versions in this module.
Published: May 23, 2017
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 1,446
Opens a new window with list of known importers.
Documentation
Documentation
¶
Float is a nullable float64.
It does not consider zero values to be null.
It will decode to null, not zero, if null.
FloatFrom creates a new Float that will always be valid.
FloatFromPtr creates a new Float that be null if f is nil.
NewFloat creates a new Float
IsZero returns true for invalid Floats, for future omitempty support (Go 1.4?)
A non-null Float with a 0 value will not be considered zero.
MarshalJSON implements json.Marshaler.
It will encode null if this Float is null.
MarshalText implements encoding.TextMarshaler.
It will encode a blank string if this Float is null.
Ptr returns a pointer to this Float's value, or a nil pointer if this Float is null.
SetValid changes this Float's value and also sets it to be non-null.
MarshalText implements encoding.TextMarshaler.
It will encode a blank string if this Float is null.
UnmarshalJSON implements json.Unmarshaler.
It supports number and null input.
0 will not be considered a null Float.
It also supports unmarshalling a sql.NullFloat64.
UnmarshalText implements encoding.TextUnmarshaler.
It will unmarshal to a null Float if the input is a blank or not an integer.
It will return an error if the input is not an integer, blank, or "null".
Source Files
¶
Click to show internal directories.
Click to hide internal directories.