RESEARCH

heap-over-flow and integer-overflow in stun_parse_attr_error_code and stun_parse_attr_uint32

Source: sofia-sip Version: 1.12.11+20110422.1+1e14eea~dfsg-5 Severity: grave Tags: security upstream Forwarded: github.com/freeswitch/sofia-sip/pull/214 X-Debbugs-Cc: car…@debian.org, Debian Security Team <t…@security.debian.org> Hi, The following vulnerability was published for sofia-sip. CVE-2023-32307[0]: | Sofia-SIP is an…Read moreheap-over-flow and integer-overflow in stun_parse_attr_error_code and stun_parse_attr_uint32

DATA MANAGEMENT RESEARCH

Convert xml to json with requirement of replacing complex element with special character [

I need to get below output using xslt where results tag denotes array in output.{Ignoring Metadata using xslt} INPUT <container_trip><results><__metadata><id>http://hxaix48.hq.auspost.com.au:8001/sap/opu/odata/SAP/ZGW_CONTAINER_TRIP_EVENT_SRV/container_tripSet(‘338760110225’)</id><uri>http://hxaix48.hq.auspost.com.au:8001/sap/opu/odata/SAP/ZGW_CONTAINER_TRIP_EVENT_SRV/container_tripSet(‘338760110225’)</uri><type>ZGW_CONTAINER_TRIP_EVENT_SRV.container_trip</type></__metadata><originator><__metadata><type>ZGW_CONTAINER_TRIP_EVENT_SRV.event_originator</type></__metadata><person><__metadata><type>ZGW_CONTAINER_TRIP_EVENT_SRV.Person</type></__metadata></person><system><__metadata><type>ZGW_CONTAINER_TRIP_EVENT_SRV.System</type></__metadata></system></originator><container><__metadata><type>ZGW_CONTAINER_TRIP_EVENT_SRV.Container</type></__metadata><product_group><__metadata><type>ZGW_CONTAINER_TRIP_EVENT_SRV.Product_group</type></__metadata></product_group></container><audit><__metadata><type>ZGW_CONTAINER_TRIP_EVENT_SRV.Audit</type></__metadata><em_last_event_guid>00000000-0000-0000-0000-000000000000</em_last_event_guid></audit><device><__metadata><type>ZGW_CONTAINER_TRIP_EVENT_SRV.Device</type></__metadata><is_charging>false</is_charging><is_charged>false</is_charged><communications><__metadata><type>ZGW_CONTAINER_TRIP_EVENT_SRV.communications</type></__metadata><is_communication_available>false</is_communication_available><communication_duration>0</communication_duration></communications><location><__metadata><type>ZGW_CONTAINER_TRIP_EVENT_SRV.Location</type></__metadata><address><__metadata><type>ZGW_CONTAINER_TRIP_EVENT_SRV.Address</type></__metadata><addressline><__metadata><type>ZGW_CONTAINER_TRIP_EVENT_SRV.Addressline</type></__metadata></addressline></address><geocode><__metadata><type>ZGW_CONTAINER_TRIP_EVENT_SRV.Geocode</type></__metadata><latitude>0.000000</latitude><longitude>0.000000</longitude><height>0.000</height><positional_uncertainty>0.000000</positional_uncertainty><is_containment>false</is_containment><precision>0</precision></geocode></location></device><to_container><__metadata><type>ZGW_CONTAINER_TRIP_EVENT_SRV.To_container</type></__metadata></to_container><container_trip_id>338760110225</container_trip_id><container_trip_guid>00000000-0000-0000-0000-000000000000</container_trip_guid><container_id>TRK186345678</container_id><container_type>TRK1</container_type><container_full_barcode>80049312650TRK186345678A</container_full_barcode><container_sealed>false</container_sealed><system_item_counter>2</system_item_counter><manual_item_counter>0</manual_item_counter><container_gross_weight_kg>0.00</container_gross_weight_kg><is_active>true</is_active><available_to_load_into>true</available_to_load_into><can_be_loaded_as_child>false</can_be_loaded_as_child><security_seal_ids><results><__metadata><id> </id></__metadata><seal_id>AA0000000001</seal_id></results><results><__metadata><id> </id></__metadata><seal_id>AA0000000002</seal_id></results><results><__metadata><id> </id></__metadata><seal_id>AA0000000002</seal_id></results></security_seal_ids><trip_legs><results><__metadata><id>hxaix48.hq.auspost.com.au:8001/sap/opu/odata/SAP/ZGW_CONTAINER_TRIP_EVENT_SRV/trip_legsSet(container_trip_id=”,origin_facility_code=”201531″,event_type=””)</id><uri>hxaix48.hq.auspost.com.au:8001/sap/opu/odata/SAP/ZGW_CONTAINER_TRIP_EVENT_SRV/trip_legsSet(container_trip_id=”,origin_facility_code=”201531″,event_type=””)</uri><type>ZGW_CONTAINER_TRIP_EVENT_SRV.trip_legs</type></__metadata><origin_facility_code>201531</origin_facility_code><destination_facility_code>308371</destination_facility_code><origin_facility_name>COFFS HARBOUR DC</origin_facility_name><destination_facility_name>360 COLLINS ST PARCEL LOCKER</destination_facility_name></results></trip_legs><container_trip_event><__deferred><uri>hxaix48.hq.auspost.com.au:8001/sap/opu/odata/SAP/ZGW_CONTAINER_TRIP_EVENT_SRV/container_tripSet('338760110225')/container_trip_event</uri></__deferred></container_trip_event><facility><__deferred><uri>http://hxaix48.hq.auspost.com.au:8001/sap/opu/odata/SAP/ZGW_CONTAINER_TRIP_EVENT_SRV/container_tripSet('338760110225')/facility</uri></__deferred></facility></results></container_trip&gt; OUTPUT…Read moreConvert xml to json with requirement of replacing complex element with special character [

DATA MANAGEMENT JS, REACT, & NODE RESEARCH

javascript – Is there a way to remove quotation marks (Node.js Web Application)

Code: async function watchAnime(episode_id) { res = await axios.get(`https://www1.gogoanime.cm/${episode_id}`) const body = await res.data; $ = cheerio.load(body) src=$(‘div.play-video > iframe’).attr(‘src’) iframe_result = src return await (iframe_result) } Output : “//gogoplay1.com/streaming.php?id=MTU1MzEy&title=B%3A+The+Beginning+Succession+%28Dub%29+Episode+6″…Read morejavascript – Is there a way to remove quotation marks (Node.js Web Application)